41 lines
753 B
Caddyfile
41 lines
753 B
Caddyfile
# GLOBAL CONFIGURATIONS
|
|
{
|
|
#http_port 81
|
|
#https_port 444
|
|
# readd later already rate limited :(
|
|
email mika.bomm@outlook.com
|
|
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
|
|
#}
|
|
|
|
# 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
|
|
#}
|
|
|
|
mini1.docker.local {
|
|
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!"
|
|
}
|