Add favicon
This commit is contained in:
parent
2dca4aabef
commit
97bc4e207a
2 changed files with 7 additions and 4 deletions
|
@ -19,8 +19,7 @@ server {
|
|||
gzip_vary on;
|
||||
|
||||
location /static/ {
|
||||
access_log off;
|
||||
expires 36000;
|
||||
access_log off; expires 36000;
|
||||
alias {{ release_dir }}/static/;
|
||||
add_header Cache-Control "public";
|
||||
add_header Access-Control-Allow-Origin https://{{ domain }};
|
||||
|
@ -28,11 +27,15 @@ server {
|
|||
|
||||
# Set a longer expiry for CACHE/, because the filenames are unique.
|
||||
location /static/CACHE/ {
|
||||
access_log off;
|
||||
expires 864000;
|
||||
access_log off; expires 864000;
|
||||
alias {{ release_dir }}/static/CACHE/;
|
||||
}
|
||||
|
||||
location /favicon.ico {
|
||||
access_log off; expires 864000;
|
||||
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;
|
||||
|
|
BIN
publichealth/static/images/favicon.ico
Normal file
BIN
publichealth/static/images/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1,022 B |
Loading…
Add table
Reference in a new issue