diff --git a/scripts/Common/Software/docker/services/wekan/main.fish b/scripts/Common/Software/docker/services/wekan/main.fish index 788cf829..6b01e21f 100755 --- a/scripts/Common/Software/docker/services/wekan/main.fish +++ b/scripts/Common/Software/docker/services/wekan/main.fish @@ -27,7 +27,19 @@ begin end function getServiceLocations -V service - printf "%s\0" "$service" / + printf "%s\0" \ + "$service" / "static files" \ + "$service" "~ ^/sockjs/.*/websocket\$" "Websocket" + end + + function getExtraLocationSettings -a domain s location -V service + if [ "$location" != "/" ] + printf "%s\n" \ + '# Websocket' \ + "proxy_http_version 1.1;" \ + 'proxy_set_header Upgrade $http_upgrade;' \ + 'proxy_set_header Connection "upgrade";' + end end runInstaller --force $argv