Skip to content

Instantly share code, notes, and snippets.

View kevin25's full-sized avatar

Kevin kevin25

  • USA
View GitHub Profile
@kevin25
kevin25 / gist:3a9a13706951ee764fd7e348ddde102a
Last active May 9, 2023 16:27
Varnish Cache WooCommerce
vcl 4.1;
import std;
import cookie;
backend default {
.host = "127.0.0.1";
.port = "8080";
}
@kevin25
kevin25 / jail.local
Last active August 29, 2015 14:11 — forked from rutger1140/jail.local
# Create a new jail via Plesk
# generated in /etc/fail2ban/jail.local
[wp-auth]
enabled = true
filter = wp-auth
action = iptables-multiport[name=NoAuthFailures, port="http,https"]
logpath = /var/www/vhosts/system/*/logs/*access*log
/var/log/httpd/*access_log
maxretry = 15