Skip to content

Instantly share code, notes, and snippets.

@altan-me
altan-me / default.conf
Created September 20, 2016 03:08
( nginx-wordpress-docker/default.conf ) replacement
server {
listen 80;
return 301 https://calendar.greenpeace.org.nz$request_uri;
}
server {
listen 443 ssl;
server_name calendar.greenpeace.org.nz;
root /var/www/html;
@altan-me
altan-me / jail.local
Created January 22, 2016 04:13
fail2ban Config files
[DEFAULT]
# "ignoreip" can be an IP address, a CIDR mask or a DNS host
ignoreip = 127.0.0.1
bantime = 86400
maxretry = 5
[nginx-auth]
enabled = true
filter = nginx-auth
action = iptables-multiport[name=NoAuthFailures, port="http,https"]

Keybase proof

I hereby claim:

  • I am altan-me on github.
  • I am altan (https://keybase.io/altan) on keybase.
  • I have a public key whose fingerprint is 62E9 74F2 382E AB47 CDB2 B51A 8384 F473 A5BE A417

To claim this, I am signing this object: