Skip to content

Latest commit

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Nginx Conf

Main Conf

Sites Conf

Cetificates

Install ACME.sh with the get.acme.sh script.

curl https://get.acme.sh | sh
# -- or --
wget -O - https://get.acme.sh | sh

Make sure to set the environment variables for cloudflare configuration.

export CF_Token="blahblah"# Go to Cloudflare Profile for a domain, API Tokens, create a token with Zone:DNS:Edit permissionexport CF_Account_ID="blahblah"# Go to Cloudflare Global for a domain, account ID is at the bottom right

Issue Certificates

Alias to generate a certificate for a domain and its subdomains.

gen_crt() {
local domain="$1"
acme.sh --issue --dns dns_cf -d "$domain" -d "*.$domain" --key-file "/home/debian/.acme.sh/pem/$domain-privkey.pem" --fullchain-file "/home/debian/.acme.sh/pem/$domain-fullchain.pem";
}

Generate a certificate for a domain and its subdomains.

gen_crt ozeliurs.com

All current domain to generate a conf:

gen_crt adakite.ozeliurs.com
gen_crt ax.oze.li
gen_crt basalt.ozeliurs.com
gen_crt granite.ozeliurs.com
gen_crt obsidian.ozeliurs.com
gen_crt ozeliurs.com

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors