docker-vm-compose/caddy/Caddyfile

42 lines
737 B
Caddyfile
Raw Normal View History

2024-07-23 22:39:17 +02:00
# GLOBAL CONFIGURATIONS
{
http_port 81
https_port 444
2024-07-23 22:39:17 +02:00
# readd later already rate limited :(
2024-07-24 19:38:03 +02:00
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
api_secret_key {$PORKBUN_API_SECRET_KEY} #dont hardcode this please
}
2024-07-23 22:39:17 +02:00
# auto_https off
# Done for debugging
}
# SNIPPETS
(logging) {
log {
output file /var/log/caddy.log
format json
}
}
pdf2.mixel.cloud {
reverse_proxy 192.168.178.230:55556
}
2024-07-23 22:39:17 +02:00
https://mini1.docker.local {
2024-07-23 22:39:17 +02:00
import logging
reverse_proxy http://192.168.178.230:55556
}
http://192.168.178.230 {
import logging
reverse_proxy http://192.168.178.230:55556
}
:81 {
respond "Hello, World!"
}