From 70be271df9c22be86507bf0d4ab0cef22d5d23d4 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Wed, 13 Dec 2023 20:20:03 +0100 Subject: [PATCH] fix __DOMAIN__ variable --- conf/nginx.conf | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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__; }