From f19a15058aa95ba0f84f4dc89dc518e59462386e Mon Sep 17 00:00:00 2001 From: Mike Pirog Date: Mon, 22 Oct 2012 14:54:54 -0700 Subject: [PATCH] nginx stopping drupal image cache generation --- modules/drupal/templates/nginx/vhost.conf.erb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/drupal/templates/nginx/vhost.conf.erb b/modules/drupal/templates/nginx/vhost.conf.erb index d3b91a8..cb8a0b6 100644 --- a/modules/drupal/templates/nginx/vhost.conf.erb +++ b/modules/drupal/templates/nginx/vhost.conf.erb @@ -35,12 +35,6 @@ server location @cleanurl { rewrite ^/(.*)$ /index.php?q=$1 last; } - - location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { - expires max; - log_not_found off; - access_log off; - } location ~ \.php$ { try_files $uri =404;