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; }