1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/funkwhale_ynh.git synced 2024-09-03 18:36:24 +02:00

Update nginx.conf

This commit is contained in:
ericgaspar 2020-12-05 10:19:31 +01:00
parent eb335c5b33
commit c6a3b27297
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -14,7 +14,6 @@ location /front/ {
more_set_headers "Referrer-Policy: strict-origin-when-cross-origin";
more_set_headers "X-Frame-Options: SAMEORIGIN";
more_set_headers "Service-Worker-Allowed: /";
}
location /front/embed.html {
@ -32,13 +31,11 @@ location /federation/ {
proxy_pass http://127.0.0.1:__PORT__/federation/;
}
location /rest/ {
include __FINALPATH__/code/deploy/funkwhale_proxy.conf;
proxy_pass http://127.0.0.1:__PORT__/api/subsonic/rest/;
}
location /.well-known/ {
include __FINALPATH__/code/deploy/funkwhale_proxy.conf;
proxy_pass http://127.0.0.1:__PORT__/.well-known/;
@ -58,7 +55,7 @@ location /_protected/media/ {
location /_protected/music/ {
internal;
alias __FINALPATH__/import/;
alias __FINALPATH__/import/;
}
location /staticfiles/ {