Files
Foscarealm/Caddyfile.wrapper
2026-04-24 15:34:06 +02:00

34 lines
648 B
Caddyfile

{
email hubacek.s@gmail.com
acme_ca https://acme-v02.api.letsencrypt.org/directory
}
(common_headers) {
header {
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
X-Content-Type-Options "nosniff"
X-Frame-Options "DENY"
X-XSS-Protection "1; mode=block"
}
}
(common_auth) {
basicauth {
Standa $2a$14$Qt8qzPSymY09baSwfhTVw./vsB4debh4UcS5Ty/2yg44vXrGnxTz.
}
}
deploy.hubacek.cloud {
@allowed remote_ip 192.168.50.110
handle @allowed {
reverse_proxy 127.0.0.1:9001
}
respond "Forbidden" 403
}
www.hubacek.cloud {
redir https://hubacek.cloud{uri} permanent
}
import /opt/homelab/generated/caddy/*.caddy