introduce proxy_options snippet
This commit is contained in:
7
snippets/proxy_options.conf
Normal file
7
snippets/proxy_options.conf
Normal file
@ -0,0 +1,7 @@
|
||||
proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;
|
||||
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header X-Forwarded-Proto https;
|
||||
proxy_set_header X-Forwarded-Port 443;
|
||||
proxy_set_header Host $host;
|
Reference in New Issue
Block a user