Skip to content

Commit

Permalink
Merge pull request #4118 from mitossoft-rd/patch-1
Browse files Browse the repository at this point in the history
Remove variable usage from proxy_pass directive to fix resolution issues
  • Loading branch information
jc21 authored Oct 30, 2024
2 parents eaf6335 + f7d3ca0 commit 17246e4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions backend/templates/_location.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Real-IP $remote_addr;

set $proxy_forward_scheme {{ forward_scheme }};
set $proxy_server "{{ forward_host }}";
set $proxy_port {{ forward_port }};

proxy_pass $proxy_forward_scheme://$proxy_server:$proxy_port{{ forward_path }};
proxy_pass {{ forward_scheme }}://{{ forward_host }}:{{ forward_port }}{{ forward_path }};

{% include "_access.conf" %}
{% include "_assets.conf" %}
Expand Down

0 comments on commit 17246e4

Please sign in to comment.