add gitlab-ci

This commit is contained in:
tuanvu
2026-02-16 14:37:23 +01:00
parent 781b9972f3
commit a168cd1d88
2 changed files with 109 additions and 0 deletions

View File

@@ -15,6 +15,20 @@ server {
root /var/www/certbot; # Root directory for Certbot challenges
}
##########################
# Grafana
##########################
location /grafana/ {
proxy_pass http://grafana:3000/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
##########################
# API
##########################