summaryrefslogtreecommitdiff
path: root/configs/nginx/proxy-params.conf
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-09-26 02:57:24 +0300
committerDevaev Maxim <[email protected]>2018-09-26 02:57:24 +0300
commit81a5311349564a1016c4af2bf18ae872b650e85b (patch)
treed01fd027948494e22ae2c14334b98c1515e5e8a4 /configs/nginx/proxy-params.conf
parentf3946f102fc167efdc53c73412b2c0d6ac6c72c5 (diff)
moved kvmd to the root
Diffstat (limited to 'configs/nginx/proxy-params.conf')
-rw-r--r--configs/nginx/proxy-params.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/nginx/proxy-params.conf b/configs/nginx/proxy-params.conf
new file mode 100644
index 00000000..36a00e53
--- /dev/null
+++ b/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;