fix: mount nginx.conf, add proxy_pass_request_headers on
This commit is contained in:
parent
8bbf2ccc25
commit
85f6d42920
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue