mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-08 19:00:18 +01:00
Added svg caching.
This commit is contained in:
parent
c8e93b7086
commit
f79b589622
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ nginx_vhosts:
|
|||
location ~ ^/sites/default/files/ {
|
||||
try_files $uri @rewrite;
|
||||
}
|
||||
location ~* \.(gif|jpg|jpeg|png|ico|bmp|js|css|pdf|doc|webp|woff|ico|js|css)(\?[a-zA-Z0-9\.\-_,])?$ {
|
||||
location ~* \.(gif|jpg|jpeg|png|ico|bmp|js|css|pdf|doc|webp|woff|ico|js|css|svg)(\?[a-zA-Z0-9\.\-_,])?$ {
|
||||
expires max;
|
||||
log_not_found off;
|
||||
add_header Cache-Control "public";
|
||||
|
|
Loading…
Reference in a new issue