Files
JooL_website/Caddyfile.dev
2026-05-26 09:23:41 +00:00

29 lines
478 B
Caddyfile

dev.jool-international.com {
# Fichiers statiques Django
handle_path /static/* {
root * /app/staticfiles
file_server
}
# CVs : jamais accessibles publiquement
handle /media/careers/cvs/* {
respond 404
}
# Autres fichiers media
handle_path /media/* {
root * /app/media
file_server
}
# Application Django
handle {
reverse_proxy web:8000
}
log {
output stdout
}
}