-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reverse-proxy-nginx.conf: reverse proxy upgrade response for websockets
This allows the web socket connection to the vite server(s) for hot reloading again. I also added this for the other upstreams, that they can also use websockets if they wish in the future. See https://nginx.org/en/docs/http/websocket.html for the docs. Don't overwrite the http version...if the client comes with a too low http version, he will anyway not be able to use websockets.
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters