parent
0439559ea3
commit
d9f4fe1272
roles/www/templates
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue