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:
parent
eb335c5b33
commit
c6a3b27297
1 changed files with 1 additions and 4 deletions
|
@ -14,7 +14,6 @@ location /front/ {
|
||||||
more_set_headers "Referrer-Policy: strict-origin-when-cross-origin";
|
more_set_headers "Referrer-Policy: strict-origin-when-cross-origin";
|
||||||
more_set_headers "X-Frame-Options: SAMEORIGIN";
|
more_set_headers "X-Frame-Options: SAMEORIGIN";
|
||||||
more_set_headers "Service-Worker-Allowed: /";
|
more_set_headers "Service-Worker-Allowed: /";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location /front/embed.html {
|
location /front/embed.html {
|
||||||
|
@ -32,13 +31,11 @@ location /federation/ {
|
||||||
proxy_pass http://127.0.0.1:__PORT__/federation/;
|
proxy_pass http://127.0.0.1:__PORT__/federation/;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
location /rest/ {
|
location /rest/ {
|
||||||
include __FINALPATH__/code/deploy/funkwhale_proxy.conf;
|
include __FINALPATH__/code/deploy/funkwhale_proxy.conf;
|
||||||
proxy_pass http://127.0.0.1:__PORT__/api/subsonic/rest/;
|
proxy_pass http://127.0.0.1:__PORT__/api/subsonic/rest/;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
location /.well-known/ {
|
location /.well-known/ {
|
||||||
include __FINALPATH__/code/deploy/funkwhale_proxy.conf;
|
include __FINALPATH__/code/deploy/funkwhale_proxy.conf;
|
||||||
proxy_pass http://127.0.0.1:__PORT__/.well-known/;
|
proxy_pass http://127.0.0.1:__PORT__/.well-known/;
|
||||||
|
@ -58,7 +55,7 @@ location /_protected/media/ {
|
||||||
|
|
||||||
location /_protected/music/ {
|
location /_protected/music/ {
|
||||||
internal;
|
internal;
|
||||||
alias __FINALPATH__/import/;
|
alias __FINALPATH__/import/;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /staticfiles/ {
|
location /staticfiles/ {
|
||||||
|
|
Loading…
Add table
Reference in a new issue