diff --git a/apps/drupal/drupal_boost.conf b/apps/drupal/drupal_boost.conf index 1cb10e16..cddc25b9 100644 --- a/apps/drupal/drupal_boost.conf +++ b/apps/drupal/drupal_boost.conf @@ -63,18 +63,21 @@ location / { log_not_found off; } + ## Drupal 6 imagecache handling. Uncomment the block below if your site + ## has been migrated from Drupal 6 and/or you need to use the "imagecache" + ## files directory. ## If accessing an image generated by Drupal 6 imagecache, serve it ## directly if available, if not relay the request to Drupal to (re)generate ## the image. - location ~* /imagecache/ { - ## Image hotlinking protection. If you want hotlinking - ## protection for your images uncomment the following line. - #include apps/drupal/hotlinking_protection.conf; - - access_log off; - expires 30d; - try_files $uri @drupal; - } + #location ~* /imagecache/ { + # ## Image hotlinking protection. If you want hotlinking + # ## protection for your images uncomment the following line. + # #include apps/drupal/hotlinking_protection.conf; + # + # access_log off; + # expires 30d; + # try_files $uri @drupal; + #} ## Drupal 7 generated image handling, i.e., imagecache in core. See: ## http://drupal.org/node/371374. diff --git a/apps/drupal/drupal_boost6.conf b/apps/drupal/drupal_boost6.conf index 81d6c269..335d65bc 100644 --- a/apps/drupal/drupal_boost6.conf +++ b/apps/drupal/drupal_boost6.conf @@ -103,13 +103,16 @@ location / { try_files $uri /index.php?q=$no_slash_uri&$args; } + ## Drupal 7 image style handling. Uncomment the block below if your site + ## is being migrated to Drupal 7 and/or you need to use the "styles" files + ## directory. ## Drupal 7 generated image handling, i.e., imagecache in core. See: ## http://drupal.org/node/371374. - location ~* /files/styles/ { - access_log off; - expires 30d; - try_files $uri /index.php?q=$no_slash_uri&$args; - } + #location ~* /files/styles/ { + # access_log off; + # expires 30d; + # try_files $uri /index.php?q=$no_slash_uri&$args; + #} ## Advanced Aggregation module CSS ## support. http://drupal.org/project/advagg.