Correction gunicorn
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user