Add fail2ban conf

This commit is contained in:
VirtuBox
2019-04-26 21:30:46 +02:00
parent 77aa92137c
commit 2f9b598113
8 changed files with 289 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
# FastCGI cache settings - WO v3.9.5.1
# FastCGI cache settings - WO v3.9.5
fastcgi_cache_path /var/run/nginx-cache levels=1:2 keys_zone=WORDPRESS:50m inactive=60m max_size=256M;
fastcgi_cache_key "$scheme$request_method$host$request_uri";
fastcgi_cache_use_stale error timeout invalid_header updating http_500 http_503;
@@ -17,3 +17,5 @@ fastcgi_buffer_size 32k;
fastcgi_param SERVER_NAME $http_host;
fastcgi_ignore_headers Cache-Control Expires Set-Cookie;
fastcgi_keep_conn on;
# only available with Nginx 1.15.6 and earlier
fastcgi_socket_keepalive on;