From 3461b8234e94d968c8e4f73caab972f4310a0404 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Wed, 25 Dec 2019 00:35:09 +0530 Subject: [PATCH] Caddyfile: Configure proxying for goaccess websocket Signed-off-by: Harsh Shandilya --- Caddyfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Caddyfile b/Caddyfile index 809af6b..58c654e 100644 --- a/Caddyfile +++ b/Caddyfile @@ -94,6 +94,13 @@ https://stats.msfjarvis.dev { root /var/www/stats.msfjarvis.website/ } +https://stats.msfjarvis.dev/ws { + import base_config + proxy / localhost:7890 { + websocket + } +} + https://www.msfjarvis.website { import base_config redir https://msfjarvis.dev{uri}