mirror of
https://github.com/YunoHost-Apps/funkwhale_ynh.git
synced 2024-09-03 18:36:24 +02:00
fix __DOMAIN__ variable
This commit is contained in:
parent
cdc2bc3f87
commit
70be271df9
1 changed files with 9 additions and 9 deletions
|
@ -8,36 +8,36 @@
|
|||
charset utf-8;
|
||||
|
||||
location /api/ {
|
||||
include /etc/nginx/conf.d/$domain.d/funkwhale_proxy.conf;
|
||||
include /etc/nginx/conf.d/__DOMAIN__.d/funkwhale_proxy.conf;
|
||||
# This is needed if you have file import via upload enabled.
|
||||
client_max_body_size 100M;
|
||||
proxy_pass http://127.0.0.1:__PORT__;
|
||||
}
|
||||
|
||||
location ~ ^/library/(albums|tracks|artists|playlists)/ {
|
||||
include /etc/nginx/conf.d/$domain.d/funkwhale_proxy.conf;
|
||||
include /etc/nginx/conf.d/__DOMAIN__.d/funkwhale_proxy.conf;
|
||||
proxy_pass http://127.0.0.1:__PORT__;
|
||||
}
|
||||
|
||||
location /channels/ {
|
||||
include /etc/nginx/conf.d/$domain.d/funkwhale_proxy.conf;
|
||||
include /etc/nginx/conf.d/__DOMAIN__.d/funkwhale_proxy.conf;
|
||||
proxy_pass http://127.0.0.1:__PORT__;
|
||||
}
|
||||
|
||||
location ~ ^/@(vite-plugin-pwa|vite|id)/ {
|
||||
include /etc/nginx/conf.d/$domain.d/funkwhale_proxy.conf;
|
||||
include /etc/nginx/conf.d/__DOMAIN__.d/funkwhale_proxy.conf;
|
||||
alias __INSTALL_DIR__/front/dist/;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
location /@ {
|
||||
include /etc/nginx/conf.d/$domain.d/funkwhale_proxy.conf;
|
||||
include /etc/nginx/conf.d/__DOMAIN__.d/funkwhale_proxy.conf;
|
||||
proxy_pass http://127.0.0.1:__PORT__;
|
||||
}
|
||||
|
||||
location / {
|
||||
expires 1d;
|
||||
include /etc/nginx/conf.d/$domain.d/funkwhale_proxy.conf;
|
||||
include /etc/nginx/conf.d/__DOMAIN__.d/funkwhale_proxy.conf;
|
||||
alias __INSTALL_DIR__/front/dist/;
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
@ -51,18 +51,18 @@
|
|||
}
|
||||
|
||||
location /federation/ {
|
||||
include /etc/nginx/conf.d/$domain.d/funkwhale_proxy.conf;
|
||||
include /etc/nginx/conf.d/__DOMAIN__.d/funkwhale_proxy.conf;
|
||||
proxy_pass http://127.0.0.1:__PORT__;
|
||||
}
|
||||
|
||||
# You can comment this if you do not plan to use the Subsonic API.
|
||||
location /rest/ {
|
||||
include /etc/nginx/conf.d/$domain.d/funkwhale_proxy.conf;
|
||||
include /etc/nginx/conf.d/__DOMAIN__.d/funkwhale_proxy.conf;
|
||||
proxy_pass http://127.0.0.1:__PORT__/api/subsonic/rest/;
|
||||
}
|
||||
|
||||
location /.well-known/ {
|
||||
include /etc/nginx/conf.d/$domain.d/funkwhale_proxy.conf;
|
||||
include /etc/nginx/conf.d/__DOMAIN__.d/funkwhale_proxy.conf;
|
||||
proxy_pass http://127.0.0.1:__PORT__;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue