en:vps:how-to-connect-vps-nat-with-cloudflare-nginx

How to connect VPS NAT with Cloudflare nginx

A short video that shows a quick run of nginx with ssl on IPv6 via cloudflare - the nginx configuration shown in the video does not include adding vhosts and more.

apt-get update && apt-get dist-upgrade && apt-get autoclean && apt-get autoremove
apt install nginx
apt install -y certbot
certbot -d <twoja domena> --manual --preferred-challenges dns certonly
apt install nano
nano /etc/nginx/sites-available/default

(CTRL + O saves. CTRL + X exits Nano.)

service nginx restart
  • en/vps/how-to-connect-vps-nat-with-cloudflare-nginx.txt
  • ostatnio zmienione: 02/02/2023 05:25
  • przez reconv