mirror of https://github.com/fail2ban/fail2ban
Browse Source
As documented at http://nginx.org/en/docs/http/server_names.html#miscellaneous_names "If no server_name is defined in a server block then nginx uses the empty name as the server name." This regex change allows us to match error output for such a configuration. The log line added to the tests was lifted from our logs verbatim; it did not match without the patched regex. Signed-off-by: Yung-Chin Oei <yungchin@yungchin.nl>pull/676/head
yungchin
11 years ago
committed by
Yung-Chin Oei
2 changed files with 3 additions and 1 deletions
Loading…
Reference in new issue