Merge pull request #4118 from mitossoft-rd/patch-1

Remove variable usage from proxy_pass directive to fix resolution issues
This commit is contained in:
jc21 2024-10-30 14:39:48 +10:00 committed by GitHub
commit 17246e418f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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" %}