fix(nginx): Use correct passing in production configs

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2654>
This commit is contained in:
Georg Krause 2023-11-29 09:31:08 +00:00
commit 9dbbe9e768
5 changed files with 16 additions and 28 deletions

View file

@ -72,7 +72,8 @@ server {
location ~ ^/@(vite-plugin-pwa|vite|id)/ {
include /etc/nginx/funkwhale_proxy.conf;
proxy_pass http://funkwhale-front;
alias /usr/share/nginx/html/;
try_files $uri $uri/ /index.html;
}
location /@ {