Update vite path for proxying websocket to be /vite
This commit is contained in:
parent
d540788a56
commit
9c49a21953
|
@ -84,9 +84,9 @@ http {
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /ws {
|
location /vite {
|
||||||
proxy_pass http://{{ address }}:3000;
|
proxy_pass http://{{ address }}:3000;
|
||||||
rewrite ^/ws(.*)$ /$1 break;
|
rewrite ^/vite(.*)$ /$1 break;
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
|
|
Loading…
Reference in New Issue