summaryrefslogtreecommitdiff
path: root/kvmd/configs/nginx/proxy-params.conf
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/configs/nginx/proxy-params.conf')
-rw-r--r--kvmd/configs/nginx/proxy-params.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/kvmd/configs/nginx/proxy-params.conf b/kvmd/configs/nginx/proxy-params.conf
new file mode 100644
index 00000000..36a00e53
--- /dev/null
+++ b/kvmd/configs/nginx/proxy-params.conf
@@ -0,0 +1,6 @@
+proxy_set_header Host $host;
+proxy_set_header X-Real-IP $remote_addr;
+proxy_set_header X-Scheme $scheme;
+proxy_set_header X-Forwarded-Proto $scheme;
+proxy_set_header X-Forwarded-Port $server_port;
+proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;