Skip to content

Instantly share code, notes, and snippets.

View aquarion's full-sized avatar
💫
The More You Know

Nicholas Avenell aquarion

💫
The More You Know
View GitHub Profile
@aquarion
aquarion / generate-nginx-cloudflare-allow.sh
Last active October 8, 2024 10:13 — forked from mkg20001/generate-nginx-cloudflare-allow.sh
A script to generate a config to allow or additionally allow cloudflare addresses for a specific domain
#!/bin/bash
#PASSWORD=$1 # Now using .my.cnf for password
LOC=/var/backups/mysql/$1
# Exit immediately if a pipeline returns non-zero.
# Short form: set -e
set -o errexit