17 lines
323 B
Text
17 lines
323 B
Text
|
# vim: ft=nginx
|
||
|
|
||
|
server_name _;
|
||
|
|
||
|
# Proxy Headers
|
||
|
proxy_set_header X-Forwarded-For $proper_forwarded_for;
|
||
|
proxy_set_header X-Forwarded-Proto $proper_scheme;
|
||
|
proxy_set_header Host $host;
|
||
|
proxy_redirect off;
|
||
|
|
||
|
proxy_set_header Transfer-Encoding $http_transfer_encoding;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass http://web_app_server;
|
||
|
}
|
||
|
|