File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
docker/rootfs/etc/nginx/conf.d/include Expand file tree Collapse file tree 2 files changed +3
-2
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 }};
2+ set $upstream {{ forward_scheme }}://{{ forward_host }}:{{ forward_port }}{{ forward_path }}$request_uri ;
33 proxy_set_header Host $host;
44 proxy_set_header X-Forwarded-Scheme $scheme;
55 proxy_set_header X-Forwarded-Proto $scheme;
Original file line number Diff line number Diff line change 1+ set $upstream $forward_scheme://$server:$port$request_uri;
12add_header X-Served-By $host;
23proxy_set_header Host $host;
34proxy_set_header X-Forwarded-Scheme $scheme;
45proxy_set_header X-Forwarded-Proto $scheme;
56proxy_set_header X-Forwarded-For $remote_addr;
67proxy_set_header X-Real-IP $remote_addr;
7- proxy_pass $forward_scheme://$server:$port ;
8+ proxy_pass $upstream ;
89
You can’t perform that action at this time.
0 commit comments