Merge pull request #71 from dakira/patch-1

Document missing nginx header config for ssl
This commit is contained in:
Marcel Pociot authored and GitHub committed 2020-06-24 09:59:40 +02:00
commit 8bcc7613d9
1 file changed
+3
+3
View File
@@ -32,6 +32,9 @@ server {
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade'; proxy_set_header Connection 'upgrade';
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade; proxy_cache_bypass $http_upgrade;
} }