✨ upgrade terraform files to prevent giutlab webui issues
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
############################################
|
||||
|
||||
upstream gitlab_backend {
|
||||
server webserver.gitlab.svc;
|
||||
server webserver.gitlab.svc:443;
|
||||
server 1.1.1.1 backup;
|
||||
}
|
||||
|
||||
@@ -11,13 +11,14 @@ server {
|
||||
server_name gitlab.tryton.geeraert.eu www.gitlab.tryton.geeraert.eu;
|
||||
location / {
|
||||
proxy_pass https://gitlab_backend;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
|
||||
location ~* \.(html|css|jpg|gif|ico|js)$ {
|
||||
proxy_cache cache;
|
||||
proxy_cache_key $host$uri$is_args$args;
|
||||
proxy_cache_valid 200 301 302 30m;
|
||||
expires 30m;
|
||||
proxy_pass https://gitlab_backend;
|
||||
proxy_pass http://gitlab_backend;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -25,18 +26,11 @@ server {
|
||||
root /var/www/certbot;
|
||||
}
|
||||
|
||||
|
||||
client_max_body_size 20m;
|
||||
proxy_request_buffering off;
|
||||
client_max_body_size 20m;
|
||||
proxy_request_buffering off;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
http2 on;
|
||||
ssl_protocols TLSv1.2;
|
||||
|
||||
|
||||
listen 443 ssl;
|
||||
ssl_certificate /etc/nginx/ssl/live/tryton.geeraert.eu/fullchain.pem;
|
||||
|
||||
Reference in New Issue
Block a user