From 313783cf88fce055968d8588ff3d0f34889612a2 Mon Sep 17 00:00:00 2001 From: Mika Bomm Date: Wed, 24 Jul 2024 19:38:03 +0200 Subject: [PATCH] use env variable for Caddyfile email --- caddy/.env.example | 1 + caddy/Caddyfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/caddy/.env.example b/caddy/.env.example index b87aba4..b862bbb 100644 --- a/caddy/.env.example +++ b/caddy/.env.example @@ -1,2 +1,3 @@ PORKBUN_API_KEY= PORKBUN_API_SECRET_KEY= +CADDY_ACME_EMAIL= diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 6c18c1f..ebe430f 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -3,7 +3,7 @@ http_port 81 https_port 444 # readd later already rate limited :( - email mika.bomm@outlook.com + email ${CADDY_ACME_EMAIL} #acme_ca https://acme-staging-v02.api.letsencrypt.org/directory acme_dns porkbun { api_key {$PORKBUN_API_KEY} # dont hardcode this please