Supervisor update 2
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user