From 2c8f95eeecdf88b4f652d67ff20de1bcd6dc1e46 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 20 Jan 2021 23:38:02 +0100 Subject: [PATCH] Update nginx.conf --- conf/nginx.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index a79f5aa..99f65cc 100755 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -17,4 +17,15 @@ location __PATH__/ { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; + + location __PATH__/ws/ { + proxy_pass http://wsbackend; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; + proxy_set_header Host $host; + } + + # Include SSOWAT user panel. + include conf.d/yunohost_panel.conf.inc; }