Skip to content

Instantly share code, notes, and snippets.

@elmerfds
elmerfds / certbot.sh
Created December 15, 2022 16:00 — forked from fideloper/certbot.sh
Certbot on Ubuntu, wildcard subdomains via CloudFlare DNS challenge
# Used on Ubuntu 18.04 and 20.04
# Find instructions for other OSes here: https://certbot.eff.org/instructions
# Install Certbot via Snaps
sudo snap install core; sudo snap refresh core
sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
# Install DNS CloudFlare plugin
sudo snap set certbot trust-plugin-with-root=ok
@elmerfds
elmerfds / GalaxyBlue.css
Last active January 15, 2020 14:20
GalaxyBlue - Unraid theme
/*
Theme: GalaxyBlue v2
Author: https://github.com/elmerfdz
*/
:root {
--main-bg-color:#070C22;
--secondary-bg-color:#070D24;
--main-header-bg-color:#000;
--main-header-text-color:#E42A2B;
--main-nav-bg-color:#000;
@elmerfds
elmerfds / filter.d_nginx-auth.conf
Created February 15, 2017 00:37 — forked from JulienBlancher/filter.d_nginx-auth.conf
Fail2ban Config with Nginx and SSH
#
# Auth filter /etc/fail2ban/filter.d/nginx-auth.conf:
#
# Blocks IPs that makes too much accesses to the server
#
[Definition]
failregex = ^<HOST> -.*"(GET|POST).*HTTP.*"
ignoreregex =