Solved location bug

This commit is contained in:
2025-02-19 06:00:37 +01:00
parent 916cb6e314
commit 9762645b6d
2 changed files with 6 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ location {{location | default("/")}}
{% include 'roles/docker-oauth2-proxy/templates/following_directives.conf.j2'%}
{% endif %}
proxy_pass http://127.0.0.1:{{http_port}}/;
proxy_pass http://127.0.0.1:{{http_port}}{{location | default("/")}};
# headers
proxy_set_header Host $host;