From 046b3dfbb28fc4cfaee1ae0df7426dafc480146d Mon Sep 17 00:00:00 2001 From: Are0h Date: Tue, 21 Jul 2020 21:46:40 +0200 Subject: [PATCH] --- 01---Install.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/01---Install.md b/01---Install.md index 3765ab3..ee66eea 100644 --- a/01---Install.md +++ b/01---Install.md @@ -10,15 +10,17 @@ Blog and be free! **Reverse Proxy for NGINX** ``` -server { - listen 80; - server_name yourcoolassdomain.org - - location / { - proxy_set_header X-Forwarded-For $remote_addr; - proxy_set_header Host $http_host; - proxy_pass http://127.0.0.1:2314; - } +server { + listen 80; + server_name yourcoolassdomain.com; + location / { + proxy_pass https://127.0.0.1:2314; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection 'upgrade'; + proxy_set_header Host $host; + proxy_cache_bypass $http_upgrade; + } } ```