fix: basic nginx.conf (no wallarm directives before module loads)
This commit is contained in:
parent
d405c98ff8
commit
8638f198ff
1 changed files with 1 additions and 5 deletions
|
|
@ -151,11 +151,7 @@ http {
|
||||||
server {
|
server {
|
||||||
listen %s;
|
listen %s;
|
||||||
server_name _;
|
server_name _;
|
||||||
allow 127.0.0.0/8;
|
location /health { return 200; }
|
||||||
deny all;
|
|
||||||
wallarm_mode off;
|
|
||||||
access_log off;
|
|
||||||
location /wallarm-status { wallarm_status on; }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`, nginxDir, nginxDir, nginxDir, port)), 0644)
|
`, nginxDir, nginxDir, nginxDir, port)), 0644)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue