Correction gunicorn

This commit is contained in:
ifaryd
2026-05-26 09:23:41 +00:00
parent 0c52766f8a
commit 8e28e61c65
7 changed files with 99 additions and 21 deletions

View File

@@ -1,10 +1,8 @@
dev.jool-international.com {
# HTTPS automatique via Let's Encrypt (aucune config SSL nécessaire)
# Fichiers statiques
handle /static/* {
root * /app
# Fichiers statiques Django
handle_path /static/* {
root * /app/staticfiles
file_server
}
@@ -14,8 +12,8 @@ dev.jool-international.com {
}
# Autres fichiers media
handle /media/* {
root * /app
handle_path /media/* {
root * /app/media
file_server
}
@@ -24,7 +22,6 @@ dev.jool-international.com {
reverse_proxy web:8000
}
# Logs
log {
output stdout
}