Files
nginx-proxy-manager/src/backend/templates/_location.conf
T
2019-03-05 08:25:12 +10:00

10 lines
323 B
Plaintext

location {{ path }} {
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_pass {{ forward_scheme }}://{{ forward_host }}:{{ forward_port }};
{{ advanced_config }}
}