From 06c90c48d31a932bf863d7cbfa2db9042fac33e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luciano=20Le=C3=A3o?= Date: Tue, 8 Oct 2024 19:56:29 -0300 Subject: [PATCH] Add websocket proxy --- default.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/default.conf b/default.conf index 5d05571..3c66b5a 100644 --- a/default.conf +++ b/default.conf @@ -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;