homelab/scripts/caddy/landing.Caddyfile

10 lines
195 B
Caddyfile

https://{$DOMAIN} {
import blocked_matcher
handle @blocked {
file_server {
root /var/www
status 403
}
}
respond "Hello from the inside!"
}