aboutsummaryrefslogtreecommitdiff
path: root/services/docker/nginx/configs/common/proxy-common
diff options
context:
space:
mode:
Diffstat (limited to 'services/docker/nginx/configs/common/proxy-common')
-rw-r--r--services/docker/nginx/configs/common/proxy-common7
1 files changed, 7 insertions, 0 deletions
diff --git a/services/docker/nginx/configs/common/proxy-common b/services/docker/nginx/configs/common/proxy-common
new file mode 100644
index 0000000..4193548
--- /dev/null
+++ b/services/docker/nginx/configs/common/proxy-common
@@ -0,0 +1,7 @@
+proxy_http_version 1.1;
+proxy_set_header Upgrade $http_upgrade;
+proxy_set_header Connection $connection_upgrade;
+proxy_set_header Host $host;
+proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+proxy_set_header X-Forwarded-Proto $scheme;
+proxy_set_header X-Real-IP $remote_addr;