diff --git a/roles/nginx/templates/wordpress.j2 b/roles/nginx/templates/wordpress.j2 index 1bae75b..1f327bb 100644 --- a/roles/nginx/templates/wordpress.j2 +++ b/roles/nginx/templates/wordpress.j2 @@ -6,7 +6,7 @@ try_files $uri $uri/ /index.php?$args; } - location ~* \.(?:ico|css|js|gif|jpe?g|png)$ { + location ~* \.(?:ico|css|js|gif|jpe?g|png|svg)$ { add_header Cache-Control "public, max-age=604800"; }