diff --git a/conf/nginx.conf b/conf/nginx.conf index 574df61..a44dcb7 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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__; }