Solved peertube bugs

This commit is contained in:
2025-07-26 08:08:51 +02:00
parent 996244b672
commit f9f76892af
4 changed files with 12 additions and 8 deletions

View File

@@ -1,10 +1,12 @@
location {{location | default("/")}}
{% set location = location | default("/")%}
location {{location}}
{
{% if oauth2_proxy_enabled | default(false) | bool %}
{% include 'roles/web-app-oauth2-proxy/templates/following_directives.conf.j2'%}
{% endif %}
proxy_pass http://127.0.0.1:{{ http_port }}{{ location | default("/") }};
proxy_pass http://127.0.0.1:{{ http_port }}{{ location if not location.startswith('@') else '' }};
# headers
proxy_set_header Host $host;