1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gitlab_ynh.git synced 2024-09-03 18:36:35 +02:00

Update nginx config

This commit is contained in:
Kay0u 2021-01-19 01:05:34 +01:00
parent bc56071f0f
commit 7682c12036
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

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