Skip to content

Commit 17246e4

Browse files
authored
Merge pull request #4118 from mitossoft-rd/patch-1
Remove variable usage from proxy_pass directive to fix resolution issues
2 parents eaf6335 + f7d3ca0 commit 17246e4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

backend/templates/_location.conf

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@
77
proxy_set_header X-Forwarded-For $remote_addr;
88
proxy_set_header X-Real-IP $remote_addr;
99

10-
set $proxy_forward_scheme {{ forward_scheme }};
11-
set $proxy_server "{{ forward_host }}";
12-
set $proxy_port {{ forward_port }};
13-
14-
proxy_pass $proxy_forward_scheme://$proxy_server:$proxy_port{{ forward_path }};
10+
proxy_pass {{ forward_scheme }}://{{ forward_host }}:{{ forward_port }}{{ forward_path }};
1511

1612
{% include "_access.conf" %}
1713
{% include "_assets.conf" %}

0 commit comments

Comments
 (0)