modular nginx configuration

This commit is contained in:
Devaev Maxim
2018-12-15 17:01:23 +03:00
parent d652a02ac9
commit 510300df35
6 changed files with 24 additions and 22 deletions

View File

@@ -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;