diff --git a/conf/nginx.conf b/conf/nginx.conf index 21d6e44..dd9067e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,5 +1,5 @@ location __PATH__/ { - # Adapted from https://gitlab.com/gitlab-org/gitlab-recipes/blob/master/web-server/nginx/gitlab-omnibus-ssl-nginx.conf + # Adapted from https://gitlab.com/gitlab-org/gitlab-foss/-/blob/master/lib/support/nginx/gitlab-ssl client_max_body_size __CLIENT_MAX_BODY_SIZE__; gzip off; @@ -19,6 +19,8 @@ location __PATH__/ { proxy_set_header X-Forwarded-Ssl on; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $connection_upgrade; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc;