catching up changes to www role

This commit is contained in:
ben 2023-05-01 00:44:48 +02:00
parent 0439559ea3
commit d9f4fe1272
1 changed files with 3 additions and 1 deletions
roles/www/templates

View File

@ -44,11 +44,13 @@ server {
include /etc/nginx/well-known.conf;
include /etc/nginx/sudo-known.conf;
location /{{ www_stream }} {
proxy_pass https://{{ owntone_url }}/{{ www_stream_owntone }};
}
location {{ coolcats }} {
include /etc/nginx/require_auth.conf;
autoindex on;
}
location ~* ^.+\.json$ {
add_header Content-Type application/json;
}