Skip to content

Commit

Permalink
Merge pull request #44 from LeaoLuciano/websocket
Browse files Browse the repository at this point in the history
Edit websocket configuration
  • Loading branch information
Kazuo256 authored Oct 9, 2024
2 parents 9597a30 + 404d4d4 commit cfab24c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,14 @@ server {
}

location /ws {
proxy_pass http://127.0.0.1:4321;
proxy_pass http://172.17.0.1:4321;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
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 cfab24c

Please sign in to comment.