We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 925ad90 commit 87731a8Copy full SHA for 87731a8
backend/templates/_location.conf
@@ -1,11 +1,10 @@
1
location {{ path }} {
2
- set $upstream {{ forward_scheme }}://{{ forward_host }}:{{ forward_port }}{{ forward_path }};
3
proxy_set_header Host $host;
4
proxy_set_header X-Forwarded-Scheme $scheme;
5
proxy_set_header X-Forwarded-Proto $scheme;
6
proxy_set_header X-Forwarded-For $remote_addr;
7
proxy_set_header X-Real-IP $remote_addr;
8
- proxy_pass $upstream;
+ proxy_pass {{ forward_scheme }}://{{ forward_host }}:{{ forward_port }}{{ forward_path }};
9
10
{% if access_list_id > 0 %}
11
{% if access_list.items.length > 0 %}
0 commit comments