fix(nginx): proxy Vite dev server deps for HMR in multi-node setup
This commit is contained in:
parent
6eddef1e1b
commit
7a7cc246aa
|
@ -74,6 +74,11 @@ server {
|
||||||
proxy_pass http://funkwhale-api;
|
proxy_pass http://funkwhale-api;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /node_modules/.vite/ {
|
||||||
|
include /etc/nginx/funkwhale_proxy.conf;
|
||||||
|
proxy_pass http://funkwhale-front;
|
||||||
|
}
|
||||||
|
|
||||||
location ~ ^/@(vite-plugin-pwa|vite|id)/ {
|
location ~ ^/@(vite-plugin-pwa|vite|id)/ {
|
||||||
include /etc/nginx/funkwhale_proxy.conf;
|
include /etc/nginx/funkwhale_proxy.conf;
|
||||||
proxy_pass http://funkwhale-front;
|
proxy_pass http://funkwhale-front;
|
||||||
|
|
Loading…
Reference in New Issue