🎨 enable externalTrafficPolicy: Local option to forward external IP

This commit is contained in:
2024-07-29 14:16:43 +01:00
parent 0f6eb95f20
commit 05fc32f18a
16 changed files with 324 additions and 221 deletions
+2 -1
View File
@@ -12,13 +12,14 @@ server {
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 http://gitlab_backend;
proxy_pass https://gitlab_backend;
}
}