Skip to content

Commit 9597a30

Browse files
authored
Merge pull request #43 from LeaoLuciano/websocket
Add websocket proxy
2 parents acc0b37 + 06c90c4 commit 9597a30

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

default.conf

+6
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ server {
7878
return 302 https://sites.google.com/usp.br/ggj2022/;
7979
}
8080

81+
location /ws {
82+
proxy_pass http://127.0.0.1:4321;
83+
include /etc/nginx/shared/proxy.conf;
84+
85+
}
86+
8187
location /metrics {
8288
auth_basic "Metrics";
8389
auth_basic_user_file /etc/nginx/shared/htpasswd;

0 commit comments

Comments
 (0)