update Caddyfile

This commit is contained in:
Mika Bomm 2024-07-27 17:52:29 +02:00
parent 01685f84b6
commit 30950550be

View file

@ -1,17 +1,18 @@
# GLOBAL CONFIGURATIONS # GLOBAL CONFIGURATIONS
{ {
#Define default port to reverse proxy on to 81 / 444 since 80 / 443 is already used
http_port 81 http_port 81
https_port 444 https_port 444
# readd later already rate limited :(
email ${CADDY_ACME_EMAIL} email ${CADDY_ACME_EMAIL}
#acme_ca https://acme-staging-v02.api.letsencrypt.org/directory
acme_dns porkbun { acme_dns porkbun {
api_key {$PORKBUN_API_KEY} # dont hardcode this please api_key {$PORKBUN_API_KEY}
api_secret_key {$PORKBUN_API_SECRET_KEY} #dont hardcode this please api_secret_key {$PORKBUN_API_SECRET_KEY}
} }
#Debugging stuff
#acme_ca https://acme-staging-v02.api.letsencrypt.org/directory
# auto_https off # auto_https off
# Done for debugging
} }
# SNIPPETS # SNIPPETS
@ -23,16 +24,15 @@
} }
pdf2.mixel.cloud { pdf2.mixel.cloud {
import logging
reverse_proxy 192.168.178.230:55556 reverse_proxy 192.168.178.230:55556
} }
https://mini1.docker.local { https://mini1.docker.local {
import logging
reverse_proxy http://192.168.178.230:55556 reverse_proxy http://192.168.178.230:55556
} }
http://192.168.178.230 { http://192.168.178.230 {
import logging
reverse_proxy http://192.168.178.230:55556 reverse_proxy http://192.168.178.230:55556
} }