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