diff --git a/ansible/roles/web/templates/nginx.conf.j2 b/ansible/roles/web/templates/nginx.conf.j2 index 9c93d62..aedb183 100644 --- a/ansible/roles/web/templates/nginx.conf.j2 +++ b/ansible/roles/web/templates/nginx.conf.j2 @@ -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"; }