Add favicon

This commit is contained in:
Oleg Lavrovsky 2017-05-11 09:54:30 +02:00
parent 97bc4e207a
commit 0b07bfe668

View file

@ -32,15 +32,14 @@ server {
} }
location /favicon.ico { location /favicon.ico {
access_log off; expires 864000; access_log off; expires max;
alias {{ release_dir }}/static/images/favicon.ico; alias {{ release_dir }}/static/images/favicon.ico;
} }
# Only serve /media/images by default, not e.g. original_images/. # Only serve /media/images by default, not e.g. original_images/.
location /media/images { location /media/images {
alias {{ release_dir }}/media/images; alias {{ release_dir }}/media/images;
access_log off; access_log off; expires max;
expires max;
add_header Cache-Control "public"; add_header Cache-Control "public";
} }