Skip to content

Commit

Permalink
Merge pull request #43 from LeaoLuciano/websocket
Browse files Browse the repository at this point in the history
Add websocket proxy
  • Loading branch information
Kazuo256 authored Oct 9, 2024
2 parents acc0b37 + 06c90c4 commit 9597a30
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ server {
return 302 https://sites.google.com/usp.br/ggj2022/;
}

location /ws {
proxy_pass http://127.0.0.1:4321;
include /etc/nginx/shared/proxy.conf;

}

location /metrics {
auth_basic "Metrics";
auth_basic_user_file /etc/nginx/shared/htpasswd;
Expand Down

0 comments on commit 9597a30

Please sign in to comment.