Add favicon
This commit is contained in:
parent
97bc4e207a
commit
0b07bfe668
1 changed files with 2 additions and 3 deletions
|
@ -32,15 +32,14 @@ server {
|
|||
}
|
||||
|
||||
location /favicon.ico {
|
||||
access_log off; expires 864000;
|
||||
access_log off; expires max;
|
||||
alias {{ release_dir }}/static/images/favicon.ico;
|
||||
}
|
||||
|
||||
# Only serve /media/images by default, not e.g. original_images/.
|
||||
location /media/images {
|
||||
alias {{ release_dir }}/media/images;
|
||||
access_log off;
|
||||
expires max;
|
||||
access_log off; expires max;
|
||||
add_header Cache-Control "public";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue