en:vps:jak-polaczyc-vps-nat-z-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 <your domain> --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/jak-polaczyc-vps-nat-z-cloudflare-nginx.txt
  • ostatnio zmienione: 02/02/2023 16:58
  • przez reconv