Initial commit: homelab configuration and documentation

This commit is contained in:
2025-11-29 19:03:14 +00:00
commit 0769ca6888
72 changed files with 7806 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
{
# Global options
admin off
}
# Main fallback server
:80 {
root * /srv/maintenance
file_server
# Serve maintenance page for all requests
handle {
rewrite * /maintenance.html
file_server
}
# Log all requests
log {
output file /var/log/caddy/access.log
}
}
# Optional: HTTPS fallback (if you have certificates)
:443 {
root * /srv/maintenance
file_server
handle {
rewrite * /maintenance.html
file_server
}
log {
output file /var/log/caddy/access.log
}
}