Add snippets and config
This commit is contained in:
6
snippets/proxy_header.conf
Normal file
6
snippets/proxy_header.conf
Normal file
@@ -0,0 +1,6 @@
|
||||
# -*-nginx-*-
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X_FORWARDED_SSL on;
|
||||
proxy_set_header HTTP_X_FORWARDED_SSL on;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
Reference in New Issue
Block a user