add forward path prefix to prefix services in a sub path.

This commit is contained in:
jerry-yuan
2023-08-11 16:49:15 +00:00
parent fa851b61da
commit 2772489f0d
13 changed files with 82 additions and 5 deletions

View File

@ -4,7 +4,7 @@
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass {{ forward_scheme }}://{{ forward_host }}:{{ forward_port }}{{ forward_path }};
proxy_pass {{ forward_scheme }}://{{ forward_host }}:{{ forward_port }}{{ forward_path_prefix }}{{ forward_path }};
{% include "_access.conf" %}
{% include "_assets.conf" %}