Ajout d'une page d'erreur pour ngnix

This commit is contained in:
Jean-Marie Favreau
2024-04-16 14:09:47 +02:00
parent e8c6e5dec0
commit 9e10025ce9
2 changed files with 32 additions and 0 deletions

View File

@@ -28,5 +28,9 @@ http {
location /media/ {
alias /usr/src/app/media/;
}
error_page 502 /static/html/500.html;
error_page 503 /static/html/500.html;
}
}