mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
By default Nginx does not allow POST in static files, which is very used by the regression test. This is a ugly hack just to make possible to gather some numbers. Better solution will arrive soon.
24 lines
303 B
Plaintext
24 lines
303 B
Plaintext
|
|
user root;
|
|
worker_processes 1;
|
|
daemon on;
|
|
error_log logs/error.log debug;
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
ModSecurityEnabled [% enable %];
|
|
ModSecurityConfig [% config %];
|
|
server {
|
|
|
|
listen [% listen %];
|
|
server_name localhost;
|
|
location / {
|
|
error_page 405 = $uri;
|
|
}
|
|
}
|
|
}
|
|
|
|
|