1
0
Fork 0
mirror of synced 2024-06-26 10:00:41 +12:00

Update vite path for proxying websocket to be /vite

This commit is contained in:
Andrew Kingston 2022-09-02 11:48:45 +01:00
parent d540788a56
commit 9c49a21953

View file

@ -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 / {