-
Notifications
You must be signed in to change notification settings - Fork 291
header already sent while sending response to client #97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Dear Dennus, We took the code from git clone https://github.com/SpiderLabs/ModSecurity-nginx.git |
Dear Dennus, If i will put this file ngx_http_modsecurity_body_filter.c from 2dc1f7d into current Modsecurity-nginx/src folder then it will solve my problem . or i need to take full clone of https://github.com/SpiderLabs/ModSecurity-nginx/archive/2dc1f7d9e7a1ec33d11a74aebf0e51dcd00b536d.zip and need to re-compile nginx again. |
You need to get full clone from this PR and recompile nginx. |
Dear Dennus, After updating with PR new error 14: Bad address is coming Nginx error log :- 2018/03/22 23:31:21 [alert] 2807#0: *198 writev() failed (14: Bad address) while sending to client, client: 42.111.12.79, server: waf.xyz.com, request: "GET /images/ui/sound-icon.png HTTP/1.1", upstream: "http://192.168.123.118:80/images/ui/sound-icon.png", host: "waf.xyz.com", referrer: "https://xyz.payworldindia.com/css/style1.1.css In access log :- 403 is coming and on ui showing Secure Connection Failed and some time showing some random value like :- �€i�� � �à[�� ‰��Pi��ÿð¦"j�1oci8.st1oci8.statement_c This is known or something new. |
Still header already sent while sending response to client, already sent while sending response to client, error is coming. after updating with your PR. git clone https://github.com/dennus/ModSecurity-nginx.git 2018/03/22 23:52:12 [alert] 6159#0: *161 header already sent while sending response to client, Some time Secure Connection Failed error is coming on browser. Requests are also being process very slow . Response time getting high. |
Can you show log file completely?
You clone my repo from master?
чт, 22 мар. 2018 г., 21:34 vipulshop <[email protected]>:
… Still header *already sent while sending response to client, already sent
while sending response to client,* error is coming. after updating with
your PR.
*git clone https://github.com/dennus/ModSecurity-nginx.git
<https://github.com/dennus/ModSecurity-nginx.git>*
2018/03/22 23:52:12 [alert] 6159#0: *161 header already sent while sending
response to client,
already sent while sending response to client, client: 42.111.12.79,
server: test-beta.xyz.com, request: "GET /retailer HTTP/1.1", upstream: "
http://192.168.123.81:80/retailer", host: "test-beta.xyz.com", referrer: "
https://test-beta.xyz.com/retailer/login"
Some time Secure Connection Failed error is coming on browser.
Requests are also being process very slow . Response time getting high.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#97 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANfeUWvx7__LgZyo4iJU-rZX4Cl1rIISks5tg-7GgaJpZM4S2-m1>
.
|
Dear Dennus, I used this zip file https://github.com/SpiderLabs/ModSecurity-nginx/archive/2dc1f7d9e7a1ec33d11a74aebf0e51dcd00b536d.zip with this zip file compiled nginx. It would be a great if you can share command to get your code we will compile nginx with your code. Thanks Current today's Logs :- 2018/03/23 12:07:47 [alert] 25223#0: *529 header already sent while sending response to client, client: 124.124.34.29, server: test-beta.xyz.com, request: "GET /favicon.ico HTTP/1.1", upstream: "http://192.168.123.81:80/favicon.ico", host: "test-beta.xyz.com", referrer: "https://test-beta.xyz.com/retailer/home?b20904891cce2e554a502a90dbef192c=eba2749e74dc825dedd4a9a5f280386d" 2018/03/23 11:56:33 [alert] 25223#0: *290 header already sent while sending response to client, client: 61.16.138.118, server: test-beta.xyz.com, request: "GET /retailer/home?b20904891cce2e554a502a90dbef192c=eba2749e74dc825dedd4a9a5f280386d HTTP/1.1", upstream: "http://192.168.123.81:80/retailer/home?b20904891cce2e554a502a90dbef192c=eba2749e74dc825dedd4a9a5f280386d", host: "test-beta.xyz.com", referrer: "https://test-beta.xyz.com/retailer/verify-otp" |
Dear Dennus, Now i took the code which one you have merged recently after that did not receive already sent while sending response to client error. https://github.com/dennus/ModSecurity-nginx.git But now new error is coming 2018/03/23 14:15:35 [alert] 5010#0: *12 the http output chain is empty, client: 182.156.72.174, server: waf.xyz.com, request: "GET /images/home_slide-01.png HTTP/1.1", host: "waf.xyz.com", referrer: "https://waf.xyz.com/" nginx -V |
Can you show you nginx config file and error log in debug level? |
Dear Dennus, Nginx debug logs :- 2018/03/23 16:24:03 [debug] 8225#0: *189 http request line: "GET /images/home_slide-01.png HTTP/1.1" " " " Our v-host.conf server {
location /lb {
location /retailer {
location / {
location ~ /. {
our main nginx.conf user nginx; include /usr/share/nginx/modules/*.conf; events { http { ssl_session_cache shared:SSL:10m; server_tokens off; proxy_cache_path /var/lib/nginx/cache levels=1:2 keys_zone=backcache:8m max_size=500m inactive=60m; open_file_cache max=1500 inactive=20s; log_format upstream_time '[$time_local] $remote_addr $remote_user' access_log /var/log/nginx/access.log upstream_time; client_header_timeout 3m; proxy_connect_timeout 120; client_body_buffer_size 998k; fastcgi_buffers 8 128k; proxy_buffering on; #proxy_buffering on; reset_timedout_connection on; sendfile on; include /etc/nginx/mime.types; gzip on; include /etc/nginx/conf.d/*.conf; } |
Full Request logs for home_slide-01.png 2018/03/23 16:49:41 [debug] 8923#0: epoll: fd:8 ev:0001 d:0000000002278530 2018/03/23 16:49:42 [debug] 8923#0: *12 write new buf t:1 f:0 0000000000813B10, pos 0000000000813B10, size: 193 file: 0, size: 0 2018/03/23 16:49:42 [debug] 8923#0: *13 write new buf t:1 f:0 0000000000813B10, pos 0000000000813B10, size: 193 file: 0, size: 0 |
Your config does't contains any modsecurity configuration directive. 2018/03/23 16:49:42 [debug] 8923#0: *12 HTTP/1.1 301 Moved Permanently Says, that you specify incorrect target url in proxy_pass directive |
Hi Dennus, modsecurity is already enabled . i did some analysis that error the http output chain is empty, is coming only for images url (only for few images rest images are opening fine logs are already shared above) . But after disabling the modsecurity engine only for images (.jpge .ping etc.)every thing is working fine all images are opening properly . I don't know why modsecurity is blocking images even in access logs getting 200 response code for those blocking images but on browser getting 502 response. Nothing blocking is coming in modsec_audit.log file. ** ` server {
location ~ /. {
} nginx.conf is already shared on above thread. My modsecurity.conf ` SecRule REQUEST_HEADERS:Content-Type "application/json" SecRule MULTIPART_UNMATCHED_BOUNDARY "!@eq 0" SecPcreMatchLimit 1000 SecRule TX:/^MSC_/ "!@Streq 0" Thanks |
Can you try to remove or comment this directives:
in root location? Using this directives currently throws nginx worker crush. 502 state code may be result of too slow response body processing by modsecurity. |
Hey, thanks for the info. You may want to use https://gist.github.com/ to paste big configs and/or logs |
Hey, @vipulshop try to get last updates from my fork or from PR , maybe you problem will be solved. |
@dennus let me try thanks for the update. |
Dear Dennus, As you suggested i updated the ModSecurity-nginx code from your PR ( https://github.com/dennus/ModSecurity-nginx ) but still same issue the http output chain is empty. I disabled the below mention code in root but did not resolve the issue. if ($request_uri ~* .(?:ico|css|js|gif|jpe?g|png|swf)$) Logs in Debug Mode. 2018/04/05 15:32:29 [debug] 20735#0: *70 accept: 192.168.123.16:26016 fd:13 |
You wrote, that you remove "if" directive. But you log contains:
2018/04/05 15:32:29 [debug] 20735#0: *70 http script if
2018/04/05 15:32:29 [debug] 20735#0: *70 http script if: false
2018/04/05 15:32:29 [debug] 20735#0: *70 http script var
2018/04/05 15:32:29 [debug] 20735#0: *70 http map started
And second, can you enable modsecurity debug log and show them? I can't
reproduce you problem on my enviroment, but I'm think that it's not linked
with headers already sent problem
чт, 5 апр. 2018 г., 13:13 vipulshop <[email protected]>:
… Dear Dennus,
As you suggested i updated the ModSecurity-nginx code from your PR (
https://github.com/dennus/ModSecurity-nginx ) but still same issue *the
http output chain is empty*.
I disabled the below mention code in root but did not resolve the issue.
if ($request_uri ~* .(?:ico|css|js|gif|jpe?g|png|swf)$)
{
expires 30d;
}
*Logs in Debug Mode.*
2018/04/05 15:32:29 [debug] 20735#0: *70 accept: 192.168.123.16:26016
fd:13
2018/04/05 15:32:29 [debug] 20735#0: *70 event timer add: 13:
180000:1522922729840
2018/04/05 15:32:29 [debug] 20735#0: *70 reusable connection: 1
2018/04/05 15:32:29 [debug] 20735#0: *70 epoll add event: fd:13 op:1
ev:80002001
2018/04/05 15:32:29 [debug] 20735#0: *70 http wait request handler
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002E4F200:19456
2018/04/05 15:32:29 [debug] 20735#0: *70 recv: eof:0, avail:1
2018/04/05 15:32:29 [debug] 20735#0: *70 recv: fd:13 585 of 19456
2018/04/05 15:32:29 [debug] 20735#0: *70 reusable connection: 0
2018/04/05 15:32:29 [debug] 20735#0: *70 posix_memalign:
00000000015DABB0:4096 @16 <https://github.com/16>
2018/04/05 15:32:29 [debug] 20735#0: *70 http process request line
2018/04/05 15:32:29 [debug] 20735#0: *70 http request line: "GET
/images/home_slide-01.png HTTP/1.1"
2018/04/05 15:32:29 [debug] 20735#0: *70 http uri:
"/images/home_slide-01.png"
2018/04/05 15:32:29 [debug] 20735#0: *70 http args: ""
2018/04/05 15:32:29 [debug] 20735#0: *70 http exten: "png"
2018/04/05 15:32:29 [debug] 20735#0: *70 posix_memalign:
0000000002DC94E0:4096 @16 <https://github.com/16>
2018/04/05 15:32:29 [debug] 20735#0: *70 http process request header line
2018/04/05 15:32:29 [debug] 20735#0: *70 http header: "X-Forwarded-For:
125.63.93.130"
2018/04/05 15:32:29 [debug] 20735#0: *70 http header: "X-Forwarded-Proto:
https"
2018/04/05 15:32:29 [debug] 20735#0: *70 http header: "X-Forwarded-Port:
443"
2018/04/05 15:32:29 [debug] 20735#0: *70 http header: "Host:
waf.payworldindia.com"
2018/04/05 15:32:29 [debug] 20735#0: *70 http header: "X-Amzn-Trace-Id:
Root=1-5ac5f435-caa0b5e0d87baf7086f54f20"
2018/04/05 15:32:29 [debug] 20735#0:
*70 http header: "user-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64;
rv:59.0) Gecko/20100101 Firefox/59.0" 2018/04/05 15:32:29 [debug] 20735#0:
70 http header: "accept:
text/html,application/xhtml+xml,application/xml;q=0.9,/*;q=0.8"
2018/04/05 15:32:29 [debug] 20735#0: *70 http header: "accept-language:
en-US,en;q=0.5"
2018/04/05 15:32:29 [debug] 20735#0: *70 http header: "accept-encoding:
gzip, deflate, br"
2018/04/05 15:32:29 [debug] 20735#0: *70 http header:
"upgrade-insecure-requests: 1"
2018/04/05 15:32:29 [debug] 20735#0: *70 http header: "cookie:
_ga=GA1.2.150647514.1519740938; _gid=GA1.2.1572519591.1522778625;
PHPSESSID=g9gel61l13t1ss6h7ofp7d4rc7"
2018/04/05 15:32:29 [debug] 20735#0: *70 http header done
2018/04/05 15:32:29 [debug] 20735#0: *70 event timer del: 13: 1522922729840
2018/04/05 15:32:29 [debug] 20735#0: *70 generic phase: 0
2018/04/05 15:32:29 [debug] 20735#0: *70 add cleanup: 00000000015DB8D0
2018/04/05 15:32:29 [debug] 20735#0: *70 rewrite phase: 1
2018/04/05 15:32:29 [debug] 20735#0: *70 http script var
2018/04/05 15:32:29 [debug] 20735#0: *70 http script var: "https"
2018/04/05 15:32:29 [debug] 20735#0: *70 http script value: "https"
2018/04/05 15:32:29 [debug] 20735#0: *70 http script not equal
2018/04/05 15:32:29 [debug] 20735#0: *70 http script not equal: no
2018/04/05 15:32:29 [debug] 20735#0: *70 http script if
2018/04/05 15:32:29 [debug] 20735#0: *70 http script if: false
2018/04/05 15:32:29 [debug] 20735#0: *70 http script var
2018/04/05 15:32:29 [debug] 20735#0: *70 http script var: "GET"
2018/04/05 15:32:29 [debug] 20735#0: *70 http script regex:
"^(GET|POST|HEAD)$"
2018/04/05 15:32:29 [notice] 20735#0: *70 "^(GET|POST|HEAD)$" matches
"GET", client: 125.63.93.130, server: waf.payworldindia.com, request:
"GET /images/home_slide-01.png HTTP/1.1", host: "waf.payworldindia.com"
2018/04/05 15:32:29 [debug] 20735#0: *70 http script if
2018/04/05 15:32:29 [debug] 20735#0: *70 http script if: false
2018/04/05 15:32:29 [debug] 20735#0: *70 http script var
2018/04/05 15:32:29 [debug] 20735#0: *70 http map started
2018/04/05 15:32:29 [debug] 20735#0: *70 http script var: "Mozilla/5.0
(X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0"
2018/04/05 15:32:29 [debug] 20735#0: *70 http map: "Mozilla/5.0 (X11;
Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0" "0"
2018/04/05 15:32:29 [debug] 20735#0: *70 http script var: "0"
2018/04/05 15:32:29 [debug] 20735#0: *70 http script if
2018/04/05 15:32:29 [debug] 20735#0: *70 http script if: false
2018/04/05 15:32:29 [debug] 20735#0: *70 http script value: "
http://internal-PW-MAINSITE-ILB-1290774658.ap-south-1.elb.amazonaws.com"
2018/04/05 15:32:29 [debug] 20735#0: *70 http script set $upstream_endpoint
2018/04/05 15:32:29 [debug] 20735#0: *70 test location: "/"
2018/04/05 15:32:29 [debug] 20735#0: *70 test location: "images"
2018/04/05 15:32:29 [debug] 20735#0: *70 test location: ~ "/."
2018/04/05 15:32:29 [debug] 20735#0: *70 using configuration "/images"
2018/04/05 15:32:29 [debug] 20735#0: *70 http cl:-1 max:10485760
2018/04/05 15:32:29 [debug] 20735#0: *70 rewrite phase: 3
2018/04/05 15:32:29 [debug] 20735#0: *70 add cleanup: 00000000015DBB00
2018/04/05 15:32:29 [debug] 20735#0: *70 rewrite phase: 4
2018/04/05 15:32:29 [debug] 20735#0: *70 post rewrite phase: 5
2018/04/05 15:32:29 [debug] 20735#0: *70 generic phase: 6
2018/04/05 15:32:29 [debug] 20735#0: *70 generic phase: 7
2018/04/05 15:32:29 [debug] 20735#0: *70 generic phase: 8
2018/04/05 15:32:29 [debug] 20735#0: *70 generic phase: 9
2018/04/05 15:32:29 [debug] 20735#0: *70 access phase: 10
2018/04/05 15:32:29 [debug] 20735#0: *70 access phase: 11
2018/04/05 15:32:29 [debug] 20735#0: *70 post access phase: 12
2018/04/05 15:32:29 [debug] 20735#0: *70 http script var: "
http://internal-PW-MAINSITE-ILB-1290774658.ap-south-1.elb.amazonaws.com"
2018/04/05 15:32:29 [debug] 20735#0: *70 http init upstream, client timer:
0
2018/04/05 15:32:29 [debug] 20735#0: *70 epoll add event: fd:13 op:3
ev:80002005
2018/04/05 15:32:29 [debug] 20735#0: *70 http script var: "http"
2018/04/05 15:32:29 [debug] 20735#0: *70 http script var: "GET"
2018/04/05 15:32:29 [debug] 20735#0: *70 http script var: "
waf.payworldindia.com"
2018/04/05 15:32:29 [debug] 20735#0: *70 http script var:
"/images/home_slide-01.png"
2018/04/05 15:32:29 [debug] 20735#0: *70 http script var: ""
2018/04/05 15:32:29 [debug] 20735#0: *70 http cache key: "
httpGETwaf.payworldindia.com/images/home_slide-01.png"
2018/04/05 15:32:29 [debug] 20735#0: *70 add cleanup: 00000000015DBB90
2018/04/05 15:32:29 [debug] 20735#0: *70 http file cache exists: 0 e:1
2018/04/05 15:32:29 [debug] 20735#0: *70 cache file:
"/var/lib/nginx/cache/5/90/9ba7e796eda1873713189bab055e1905"
2018/04/05 15:32:29 [debug] 20735#0: *70 add cleanup: 0000000002DCA288
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002F69180:144
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002FD31F0:59
2018/04/05 15:32:29 [debug] 20735#0: *70 cached open file:
/var/lib/nginx/cache/5/90/9ba7e796eda1873713189bab055e1905, fd:14, c:1,
e:0, u:1
2018/04/05 15:32:29 [debug] 20735#0: *70 http file cache fd: 14
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002E096B0:92160
2018/04/05 15:32:29 [debug] 20735#0: *70 read: 14, 0000000002E096B0,
92160, 0
2018/04/05 15:32:29 [debug] 20735#0: *70 http file cache vary: "User-Agent"
2018/04/05 15:32:29 [debug] 20735#0: *70 http file cache vary: user-agent
2018/04/05 15:32:29 [debug] 20735#0: *70 http upstream cache: 0
2018/04/05 15:32:29 [debug] 20735#0: *70 http proxy status 200 "200 OK"
2018/04/05 15:32:29 [debug] 20735#0: *70 http proxy header: "Date: Thu, 05
Apr 2018 09:51:36 GMT"
2018/04/05 15:32:29 [debug] 20735#0: *70 posix_memalign:
0000000002ECFCE0:4096 @16 <https://github.com/16>
2018/04/05 15:32:29 [debug] 20735#0: *70 http proxy header: "Content-Type:
image/png"
2018/04/05 15:32:29 [debug] 20735#0: *70 http proxy header:
"Content-Length: 263225"
2018/04/05 15:32:29 [debug] 20735#0: *70 http proxy header: "Connection:
close"
2018/04/05 15:32:29 [debug] 20735#0: *70 http proxy header: "Server:
Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips"
2018/04/05 15:32:29 [debug] 20735#0: *70 http proxy header:
"Last-Modified: Fri, 03 Nov 2017 12:37:04 GMT"
2018/04/05 15:32:29 [debug] 20735#0: *70 http proxy header: "ETag:
"40439-55d135caa9c00""
2018/04/05 15:32:29 [debug] 20735#0: *70 http proxy header:
"Accept-Ranges: bytes"
2018/04/05 15:32:29 [debug] 20735#0: *70 http proxy header:
"Cache-Control: max-age=2592000"
2018/04/05 15:32:29 [debug] 20735#0: *70 http proxy header: "Expires: Sat,
05 May 2018 09:51:36 GMT"
2018/04/05 15:32:29 [debug] 20735#0: *70 http proxy header: "Vary:
User-Agent"
2018/04/05 15:32:29 [debug] 20735#0: *70 http proxy header done
2018/04/05 15:32:29 [debug] 20735#0: *70 http file cache send:
/var/lib/nginx/cache/5/90/9ba7e796eda1873713189bab055e1905
2018/04/05 15:32:29 [debug] 20735#0: *70 http script var: "HIT"
2018/04/05 15:32:29 [debug] 20735#0: *70 http output filter
"/images/home_slide-01.png?"
2018/04/05 15:32:29 [debug] 20735#0: *70 http copy filter:
"/images/home_slide-01.png?"
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002DAD3F0:32768
2018/04/05 15:32:29 [debug] 20735#0: *70 read: 14, 0000000002DAD3F0,
32768, 758
2018/04/05 15:32:29 [debug] 20735#0: *70 http postpone filter
"/images/home_slide-01.png?" 0000000002ED0350
2018/04/05 15:32:29 [debug] 20735#0: *70 http gzip filter
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002FF0770:270336
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip alloc: n:1 s:5936 a:8192
p:0000000002FF0770
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip alloc: n:32768 s:2 a:65536
p:0000000002FF2770
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip alloc: n:32768 s:2 a:65536
p:0000000003002770
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip alloc: n:32768 s:2 a:65536
p:0000000003012770
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip alloc: n:16384 s:4 a:65536
p:0000000003022770
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in: 0000000002ED0370
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
ni:0000000002DAD3F0 ai:32768
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002EC0520:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate in: ni:0000000002DAD3F0
no:0000000002EC0520 ai:32768 ao:8192 fl:0 redo:0
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate out: ni:0000000002DB53F0
no:0000000002EC2520 ai:0 ao:0 rc:0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
pos:0000000002DAD3F0
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002E28CD0:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate in: ni:0000000000000000
no:0000000002E28CD0 ai:0 ao:8192 fl:0 redo:1
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate out: ni:0000000000000000
no:0000000002E2ACD0 ai:0 ao:0 rc:0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
pos:0000000002DB53F0
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002E2ACE0:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate in: ni:0000000000000000
no:0000000002E2ACE0 ai:0 ao:8192 fl:0 redo:1
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate out: ni:0000000000000000
no:0000000002E2B01D ai:0 ao:7363 rc:0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
pos:0000000002DB53F0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in: 0000000000000000
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002EE4440:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002E4BAC0:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in: 0000000000000000
2018/04/05 15:32:29 [debug] 20735#0: *70 read: 14, 0000000002DAD3F0,
32768, 33526
2018/04/05 15:32:29 [debug] 20735#0: *70 http postpone filter
"/images/home_slide-01.png?" 0000000002ED0350
2018/04/05 15:32:29 [debug] 20735#0: *70 http gzip filter
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in: 0000000002ED05F0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
ni:0000000002DAD3F0 ai:32768
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate in: ni:0000000002DAD3F0
no:0000000002E2B01D ai:32768 ao:7363 fl:0 redo:0
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate out: ni:0000000002DB53F0
no:0000000002E2CCE0 ai:0 ao:0 rc:0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
pos:0000000002DAD3F0
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002EE6450:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate in: ni:0000000000000000
no:0000000002EE6450 ai:0 ao:8192 fl:0 redo:1
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate out: ni:0000000000000000
no:0000000002EE8450 ai:0 ao:0 rc:0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
pos:0000000002DB53F0
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002EE8460:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate in: ni:0000000000000000
no:0000000002EE8460 ai:0 ao:8192 fl:0 redo:1
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate out: ni:0000000000000000
no:0000000002EEA460 ai:0 ao:0 rc:0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
pos:0000000002DB53F0
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002E374F0:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate in: ni:0000000000000000
no:0000000002E374F0 ai:0 ao:8192 fl:0 redo:1
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate out: ni:0000000000000000
no:0000000002E394F0 ai:0 ao:0 rc:0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
pos:0000000002DB53F0
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002E39500:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate in: ni:0000000000000000
no:0000000002E39500 ai:0 ao:8192 fl:0 redo:1
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate out: ni:0000000000000000
no:0000000002E39B11 ai:0 ao:6639 rc:0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
pos:0000000002DB53F0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in: 0000000000000000
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002E3B510:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002E43AD0:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002E45AE0:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002E47AF0:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in: 0000000000000000
2018/04/05 15:32:29 [debug] 20735#0: *70 read: 14, 0000000002DAD3F0,
32768, 66294
2018/04/05 15:32:29 [debug] 20735#0: *70 http postpone filter
"/images/home_slide-01.png?" 0000000002ED0350
2018/04/05 15:32:29 [debug] 20735#0: *70 http gzip filter
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in: 0000000002ED0970
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
ni:0000000002DAD3F0 ai:32768
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate in: ni:0000000002DAD3F0
no:0000000002E39B11 ai:32768 ao:6639 fl:0 redo:0
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate out: ni:0000000002DB53F0
no:0000000002E3B500 ai:0 ao:0 rc:0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
pos:0000000002DAD3F0
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002DE7C40:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate in: ni:0000000000000000
no:0000000002DE7C40 ai:0 ao:8192 fl:0 redo:1
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate out: ni:0000000000000000
no:0000000002DE9C40 ai:0 ao:0 rc:0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
pos:0000000002DB53F0
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002DE9C50:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate in: ni:0000000000000000
no:0000000002DE9C50 ai:0 ao:8192 fl:0 redo:1
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate out: ni:0000000000000000
no:0000000002DEBC50 ai:0 ao:0 rc:0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
pos:0000000002DB53F0
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002DEBC60:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate in: ni:0000000000000000
no:0000000002DEBC60 ai:0 ao:8192 fl:0 redo:1
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate out: ni:0000000000000000
no:0000000002DEDC60 ai:0 ao:0 rc:0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
pos:0000000002DB53F0
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002DEDC70:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate in: ni:0000000000000000
no:0000000002DEDC70 ai:0 ao:8192 fl:0 redo:1
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate out: ni:0000000000000000
no:0000000002DEE4BF ai:0 ao:6065 rc:0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
pos:0000000002DB53F0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in: 0000000000000000
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002DEFC80:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002FA1C60:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002FA3C70:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002FA5C80:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 posix_memalign:
0000000002EC2530:4096 @16 <https://github.com/16>
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in: 0000000000000000
2018/04/05 15:32:29 [debug] 20735#0: *70 read: 14, 0000000002DAD3F0,
32768, 99062
2018/04/05 15:32:29 [debug] 20735#0: *70 http postpone filter
"/images/home_slide-01.png?" 0000000002ED0350
2018/04/05 15:32:29 [debug] 20735#0: *70 http gzip filter
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in: 0000000002EC2560
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
ni:0000000002DAD3F0 ai:32768
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate in: ni:0000000002DAD3F0
no:0000000002DEE4BF ai:32768 ao:6065 fl:0 redo:0
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate out: ni:0000000002DB53F0
no:0000000002DEFC70 ai:0 ao:0 rc:0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
pos:0000000002DAD3F0
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002FA7C90:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate in: ni:0000000000000000
no:0000000002FA7C90 ai:0 ao:8192 fl:0 redo:1
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate out: ni:0000000000000000
no:0000000002FA9C90 ai:0 ao:0 rc:0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
pos:0000000002DB53F0
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002FA9CA0:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate in: ni:0000000000000000
no:0000000002FA9CA0 ai:0 ao:8192 fl:0 redo:1
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate out: ni:0000000000000000
no:0000000002FABCA0 ai:0 ao:0 rc:0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
pos:0000000002DB53F0
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002FABCB0:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate in: ni:0000000000000000
no:0000000002FABCB0 ai:0 ao:8192 fl:0 redo:1
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate out: ni:0000000000000000
no:0000000002FADCB0 ai:0 ao:0 rc:0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
pos:0000000002DB53F0
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002E871C0:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate in: ni:0000000000000000
no:0000000002E871C0 ai:0 ao:8192 fl:0 redo:1
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate out: ni:0000000000000000
no:0000000002E87BB3 ai:0 ao:5645 rc:0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
pos:0000000002DB53F0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in: 0000000000000000
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002E891D0:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002E8B1E0:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002E8D1F0:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002E8F200:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in: 0000000000000000
2018/04/05 15:32:29 [debug] 20735#0: *70 read: 14, 0000000002DAD3F0,
32768, 131830
2018/04/05 15:32:29 [debug] 20735#0: *70 http postpone filter
"/images/home_slide-01.png?" 0000000002ED0350
2018/04/05 15:32:29 [debug] 20735#0: *70 http gzip filter
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in: 0000000002EC28E0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
ni:0000000002DAD3F0 ai:32768
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate in: ni:0000000002DAD3F0
no:0000000002E87BB3 ai:32768 ao:5645 fl:0 redo:0
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate out: ni:0000000002DB53F0
no:0000000002E891C0 ai:0 ao:0 rc:0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
pos:0000000002DAD3F0
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002E91210:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate in: ni:0000000000000000
no:0000000002E91210 ai:0 ao:8192 fl:0 redo:1
2018/04/05 15:32:29 [debug] 20735#0: *70 deflate out: ni:0000000000000000
no:0000000002E93210 ai:0 ao:0 rc:0
2018/04/05 15:32:29 [debug] 20735#0: *70 gzip in_buf:0000000002ED02F0
pos:0000000002DB53F0
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002FC13D0:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 malloc: 0000000002FC33E0:8192
2018/04/05 15:32:29 [debug] 20735#0: *70 read: 14, 0000000002DAD3F0,
32768, 164598
2018/04/05 15:32:29 [debug] 20735#0: *70 http postpone filter
"/images/home_slide-01.png?" 0000000002ED0350
2018/04/05 15:32:29 [debug] 20735#0: *70 http gzip filter
2018/04/05 15:32:29 [debug] 20735#0: *70 http write filter: l:0 f:0 s:0
2018/04/05 15:32:29 [alert] 20735#0: *70 the http output chain is empty,
client: 125.63.93.130, server: waf.payworldindia.com, request: "GET
/images/home_slide-01.png HTTP/1.1", host: "waf.payworldindia.com"
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002FF0770
2018/04/05 15:32:29 [debug] 20735#0: *70 http copy filter: -1
"/images/home_slide-01.png?"
2018/04/05 15:32:29 [debug] 20735#0: *70 http finalize request: -1,
"/images/home_slide-01.png?" a:1, c:2
2018/04/05 15:32:29 [debug] 20735#0: *70 http terminate request count:2
2018/04/05 15:32:29 [debug] 20735#0: *70 http terminate cleanup count:2
blk:0
2018/04/05 15:32:29 [debug] 20735#0: *70 http finalize request: -4,
"/images/home_slide-01.png?" a:1, c:2
2018/04/05 15:32:29 [debug] 20735#0: *70 http request count:2 blk:0
2018/04/05 15:32:29 [debug] 20735#0: *70 http posted request:
"/images/home_slide-01.png?"
2018/04/05 15:32:29 [debug] 20735#0: *70 http terminate handler count:1
2018/04/05 15:32:29 [debug] 20735#0: *70 http request count:1 blk:0
2018/04/05 15:32:29 [debug] 20735#0: *70 http close request
2018/04/05 15:32:29 [debug] 20735#0: *70 http log handler
2018/04/05 15:32:29 [debug] 20735#0: *70 run cleanup: 0000000002DCA288
2018/04/05 15:32:29 [debug] 20735#0: *70 close cached open file:
/var/lib/nginx/cache/5/90/9ba7e796eda1873713189bab055e1905, fd:14, c:0,
u:1, 0
2018/04/05 15:32:29 [debug] 20735#0: *70 expire cached open file:
/var/lib/nginx/cache/2/e7/432053551aba6a954340f7ffe00f3e72
2018/04/05 15:32:29 [debug] 20735#0: *70 close cached open file:
/var/lib/nginx/cache/2/e7/432053551aba6a954340f7ffe00f3e72, fd:-1, c:0,
u:1, 1
2018/04/05 15:32:29 [debug] 20735#0: *70 expire cached open file:
/var/lib/nginx/cache/c/e5/986f0fa33e733931cb23049ec1edde5c
2018/04/05 15:32:29 [debug] 20735#0: *70 close cached open file:
/var/lib/nginx/cache/c/e5/986f0fa33e733931cb23049ec1edde5c, fd:-1, c:0,
u:1, 1
2018/04/05 15:32:29 [debug] 20735#0: *70 run cleanup: 00000000015DBB90
2018/04/05 15:32:29 [debug] 20735#0: *70 http file cache cleanup
2018/04/05 15:32:29 [debug] 20735#0: *70 http file cache free, fd: 14
2018/04/05 15:32:29 [debug] 20735#0: *70 run cleanup: 00000000015DBB00
2018/04/05 15:32:29 [debug] 20735#0: *70 run cleanup: 00000000015DB8D0
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002FC33E0
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002FC13D0
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002E91210
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002E8F200
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002E8D1F0
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002E8B1E0
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002E891D0
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002E871C0
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002FABCB0
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002FA9CA0
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002FA7C90
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002FA5C80
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002FA3C70
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002FA1C60
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002DEFC80
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002DEDC70
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002DEBC60
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002DE9C50
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002DE7C40
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002E47AF0
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002E45AE0
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002E43AD0
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002E3B510
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002E39500
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002E374F0
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002EE8460
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002EE6450
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002E4BAC0
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002EE4440
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002E2ACE0
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002E28CD0
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002EC0520
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000000000000
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002DAD3F0
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002E096B0
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 00000000015DABB0, unused: 2
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002DC94E0, unused: 0
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002ECFCE0, unused: 0
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002EC2530, unused:
2501
2018/04/05 15:32:29 [debug] 20735#0: *70 close http connection: 13
2018/04/05 15:32:29 [debug] 20735#0: *70 reusable connection: 0
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002E4F200
2018/04/05 15:32:29 [debug] 20735#0: *70 free: 0000000002E37120, unused:
123
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#97 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ANfeUdhtqVgvvIvQf-VP2U0T7KS_6Mkvks5tle48gaJpZM4S2-m1>
.
|
Dear Dennus, Logs contain "if" directive because i removed only below mention directive if ($request_uri ~* .(?:ico|css|js|gif|jpe?g|png|swf)$)
But file have other directive as well as which is given below :- that's why if directive is coming in logs if (
I found one strange thing that after disabling the the gzip compression or removing image/png from gzip_types image is opening fine without having any issue. gzip configuration is given below :- gzip on; In modsec_audit.log| and debug log nothing is coming related to this images. nginx -V |
Dear Dennus, Please update As i have already shared the required info above as well as with image on which we are facing issue. |
1 similar comment
Dear Dennus, Please update As i have already shared the required info above as well as with image on which we are facing issue. |
Yes, now I able to reproduce this problem and will try to respond shortly |
@vipulshop As @zimmerle mentioned, please try not to post huge log files here as it makes harder for everyone to read through the issue. Use Gist for that please. You may want to try commenting all those "if" statement on your configuration files as there's a known issue (see #74) with those on ModSecurity-nginx connector. |
Dear @victorhora , Thanks, i will use gist. but after removing the if condition this was not working and @dennus has already reproduce the problem. What's i need to do next to resolve the problem( the http output chain is empty ). Thanks |
@dennus kindly update. |
I'm encountering this with a large JavaScript file with #84 in use. |
I will close this one in favor of #84, as the kernel of the problem seems to be the same. |
Dear Dennus,
After using the latest modsecurity and modsecurity-nginx still we are getting (header already sent while sending response to client) the below error.
2018/03/22 13:38:33 [alert] 17057#0: *9 header already sent while sending response to client, client: 125.63.93.130, server: test-beta.xyz.com, request: "GET /test/ HTTP/1.1", upstream: "http://192.168.123.81:80/retailer/", host: "test-beta.xyz.com", referrer: "https://test-beta.xyz.com/test/
nginx version: nginx/1.12.2
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC)
built with OpenSSL 1.0.2k-fips 26 Jan 2017
TLS SNI support enabled
configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --user=nginx --group=nginx --with-pcre-jit --with-debug --with-http_ssl_module --with-http_realip_module --add-module=/opt/ModSecurity-nginx/
git clone https://github.com/SpiderLabs/ModSecurity
https://github.com/SpiderLabs/owasp-modsecurity-crs/archive/v3.0.2.tar.gz
nginx file
location /test {
Quick response will be really appreciated.
Thanks
The text was updated successfully, but these errors were encountered: