File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
docker/rootfs/etc/nginx/conf.d/include Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11 location {{ path }} {
2- set $upstream {{ forward_scheme }}://{{ forward_host }}:{{ forward_port }}{{ forward_path }}$request_uri;
2+ set $targetUri {{ forward_scheme }}://{{ forward_host }}:{{ forward_port }}{{ forward_path }}{% unless path contains "(" %} $request_uri{% endunless %} ;
33 proxy_set_header Host $host;
44 proxy_set_header X-Forwarded-Scheme $scheme;
55 proxy_set_header X-Forwarded-Proto $scheme;
66 proxy_set_header X-Forwarded-For $remote_addr;
77 proxy_set_header X-Real-IP $remote_addr;
8- proxy_pass $upstream ;
8+ proxy_pass $targetUri ;
99
1010 {% if access_list_id > 0 %}
1111 {% if access_list.items.length > 0 %}
Original file line number Diff line number Diff line change 1- set $upstream $forward_scheme://$server:$port$request_uri;
1+ set $targetUri $forward_scheme://$server:$port$request_uri;
22add_header X-Served-By $host;
33proxy_set_header Host $host;
44proxy_set_header X-Forwarded-Scheme $scheme;
55proxy_set_header X-Forwarded-Proto $scheme;
66proxy_set_header X-Forwarded-For $remote_addr;
77proxy_set_header X-Real-IP $remote_addr;
8- proxy_pass $upstream ;
8+ proxy_pass $targetUri ;
99
You can’t perform that action at this time.
0 commit comments