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:
parent
bc56071f0f
commit
7682c12036
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue