Różnice
Różnice między wybraną wersją a wersją aktualną.
| Poprzednia rewizja po obu stronach Poprzednia wersja Nowa wersja | Poprzednia wersja | ||
| en:vps:jak-polaczyc-vps-nat-z-cloudflare-nginx [02/02/2023 05:25] – ↷ Page name changed from en:vps:jak-polaczyc-vps-nat-z-cloudflare-nginx to en:vps:how-to-connect-vps-nat-with-cloudflare-nginx reconv | 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 | ||
| + | |||
| + | |||