Merge perso and pro on same Caddy

This commit is contained in:
Lucas
2025-10-17 09:55:56 +00:00
commit 871baf8f92
12 changed files with 366 additions and 0 deletions

18
Caddyfile Normal file
View File

@@ -0,0 +1,18 @@
:80 {
@pro host pro.lucasroyer.fr
handle @pro {
root * /srv/pro
file_server
}
@perso host lucasroyer.fr
handle @perso {
root * /srv/perso
file_server
}
# fallback
handle {
respond "Not Found" 404
}
}