deploy: Fix metrics in nginx
All checks were successful
/ test (push) Successful in 48s
/ deploy (push) Successful in 4m56s

This commit is contained in:
lagertonne 2024-11-25 19:36:16 +01:00
parent b6b29d9fed
commit a59423780e

View file

@ -75,6 +75,14 @@ server {
allow 127.0.0.1; allow 127.0.0.1;
allow ::1; allow ::1;
deny all; deny all;
proxy_set_header Host $http_host;
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;
proxy_redirect off;
proxy_buffering off;
proxy_pass http://c3lf-sys3;
} }
listen 443 ssl http2; # managed by Certbot listen 443 ssl http2; # managed by Certbot