serve robots.txt to search engines
[nginx_drupal.git] / conf / imagecache
blob1d084a5acf680153908a801efeac34cf321fb131
1   include drupal_common;
3   location = /index.php {
4     if ($arg_q !~ files/imagecache) {
5       return 403;
6     }
7     include fastcgi;
8   }
10   location ~* ^/(apc|info).php$ {
11     auth_basic "Restricted Area";
12     auth_basic_user_file htpasswd;
13     include fastcgi;
14   }
16   location ~* ^.+\.php$ {
17     return 404;
18   }
20   error_page 404 = @empty;
22   location @empty {
23     empty_gif;
24   }