diff options
author | Devaev Maxim <[email protected]> | 2018-12-15 17:01:23 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-12-15 17:01:23 +0300 |
commit | 510300df35b7921f19b52d53d0be4a3a00e2b311 (patch) | |
tree | ef5ed926e6681fa2e070f6d398829297131f3a97 /configs/nginx/loc-proxy.conf | |
parent | d652a02ac915a1610d6d0943d3748bf9a950c3b9 (diff) |
modular nginx configuration
Diffstat (limited to 'configs/nginx/loc-proxy.conf')
-rw-r--r-- | configs/nginx/loc-proxy.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/nginx/loc-proxy.conf b/configs/nginx/loc-proxy.conf new file mode 100644 index 00000000..36a00e53 --- /dev/null +++ b/configs/nginx/loc-proxy.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; |