From 85f6d4292018a44c3fe74fa1ee597ffd8baf78a2 Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 7 Aug 2026 16:54:30 +0000 Subject: [PATCH] fix: mount nginx.conf, add proxy_pass_request_headers on --- sources/python/main.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sources/python/main.py b/sources/python/main.py index 8eddd9b..b49eb0b 100644 --- a/sources/python/main.py +++ b/sources/python/main.py @@ -72,6 +72,7 @@ docker run -d \\ -e WALLARM_API_HOST={api_host} \\ -e WALLARM_MODE={mode} \\ -e NGINX_BACKEND={upstream} \\ + -v {host_dir}/nginx.conf:/etc/nginx/http.d/default.conf:ro \\ {WALLARM_IMAGE} sleep 3 docker ps --filter name={container} --format '{{{{.Status}}}}' @@ -91,6 +92,9 @@ server {{ proxy_read_timeout 300s; proxy_send_timeout 300s; + # Pass all headers through — preserve auth cookies + proxy_pass_request_headers on; + location /wallarm-status {{ wallarm_status on; allow 127.0.0.0/8;