Supervisor update 2

This commit is contained in:
hayano
2024-10-29 00:56:12 +00:00
parent a6b816c9f2
commit b872f377b2
11 changed files with 61 additions and 9 deletions

View File

@ -46,6 +46,12 @@ server {
index index.html;
}
location = /media/ {
alias /app/media/; # MEDIA_ROOT のパス
expires 30d; # キャッシュの設定
add_header Cache-Control "public, no-transform";
}
error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
location = /50x.html {