# GLOBAL CONFIGURATIONS { #Define default port to reverse proxy on to 81 / 444 since 80 / 443 is already used http_port 81 https_port 444 email {$CADDY_ACME_EMAIL} acme_dns porkbun { api_key {$PORKBUN_API_KEY} api_secret_key {$PORKBUN_API_SECRET_KEY} } #Debugging stuff #acme_ca https://acme-staging-v02.api.letsencrypt.org/directory # auto_https off } # SNIPPETS (logging) { log { output file /var/log/caddy.log format json } } pdf2.mixel.cloud { import logging reverse_proxy 192.168.178.230:55556 } code-server.mini1.docker.local { import logging reverse_proxy 192.168.178.230:8443 } https://mini1.docker.local { reverse_proxy http://192.168.178.230:55556 } http://192.168.178.230 { reverse_proxy http://192.168.178.230:55556 } :81 { respond "Hello, World!" }