Skip to content

Commit

Permalink
Enable websockets in /ws
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankHennige committed Jul 16, 2023
1 parent 790955d commit 3d7a818
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nginx/templates/default.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,10 @@ server {

client_max_body_size 1024M;
}
location /ws {
proxy_pass http://site;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
}

0 comments on commit 3d7a818

Please sign in to comment.