Różnice
Różnice między wybraną wersją a wersją aktualną.
| Nowa wersja | Poprzednia wersja | ||
| en:vps:jak-polaczyc-vps-nat-z-cloudflare-nginx [02/02/2023 05:24] – created - external edit 127.0.0.1 | en:vps:jak-polaczyc-vps-nat-z-cloudflare-nginx [02/02/2023 16:58] (aktualna) – reconv | ||
|---|---|---|---|
| Linia 1: | Linia 1: | ||
| + | ====== How to connect VPS NAT with Cloudflare nginx ====== | ||
| + | |||
| + | {{ vps: | ||
| + | |||
| + | **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.// | ||
| + | |||
| + | |||
| + | ==== Commands used ==== | ||
| + | |||
| + | |||
| + | 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 / | ||
| + | //(CTRL + O saves. CTRL + X exits Nano.)// | ||
| + | |||
| + | service nginx restart | ||
| + | |||
| + | |||