From f8b0fd31dd903013d14fd8275d02a1606b768fe5 Mon Sep 17 00:00:00 2001
From: Griefed <44273438+Griefed@users.noreply.github.com>
Date: Tue, 6 Oct 2020 13:31:45 +0200
Subject: [PATCH] Update README.md

Changed readme according to SWAG-1.8.0-ls10 which renders parts of the proxy conf pointless and can cause issues with newer versions of SWAG.
---
 README.md | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 6c91972..2cfc4be 100644
--- a/README.md
+++ b/README.md
@@ -113,8 +113,13 @@ server {
         proxy_set_header X-Forwarded-Proto $scheme;
         proxy_pass_request_headers on;
         proxy_pass http://d-zone:3000;
-        proxy_set_header Upgrade $http_upgrade;
-        proxy_set_header Connection "Upgrade";
+        ###
+        # Configs below no longer needed as of 01.09.20 SWAG-1.8.0-ls10
+        # Only enable if you use an older version of SWAG or if you for some reason still need these
+        ###
+        #proxy_http_version 1.0;
+        #proxy_set_header Upgrade $http_upgrade;
+        #proxy_set_header Connection "Upgrade";
     }
 }
 ```
-- 
GitLab