Add installation gitlab + gitlab redirection to http
This commit is contained in:
@ -13,8 +13,9 @@ server {
|
||||
server_name gitlab.c2a-systeme.fr;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:8001;
|
||||
# redirect everything to HTTPS
|
||||
return 301 https://$host$request_uri;
|
||||
# return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
||||
|
||||
@ -78,6 +79,7 @@ server {
|
||||
proxy_set_header Connection $connection_upgrade;
|
||||
|
||||
location / {
|
||||
return 301 http://$host$request_uri;
|
||||
# increase the proxy buffer sizes to not run into buffer issues (http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffers)
|
||||
proxy_buffer_size 128k;
|
||||
proxy_buffers 4 256k;
|
||||
|
Reference in New Issue
Block a user