Files
JooL_website/Caddyfile.dev
2026-05-26 11:13:37 +00:00

29 lines
473 B
Caddyfile

website.jool-tech.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
}
}