Skip to content

Commit

Permalink
[CHORE] change nginx conf for websocket
Browse files Browse the repository at this point in the history
  • Loading branch information
ohksj77 committed Mar 7, 2024
1 parent 3e7d835 commit 196349b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ server {
proxy_pass http://api;
}

location = /api/v1/location {
location ~ ^/api/v[0-9]+/location$ {
proxy_pass http://api;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 180s;
}

location ~* (service-worker\.js)$ {
Expand Down

0 comments on commit 196349b

Please sign in to comment.