repo.or.cz
/
nginx_drupal.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
serve robots.txt to search engines
[nginx_drupal.git]
/
conf
/
imagecache
blob
1d084a5acf680153908a801efeac34cf321fb131
1
include drupal_common;
2
3
location = /index.php {
4
if ($arg_q !~ files/imagecache) {
5
return 403;
6
}
7
include fastcgi;
8
}
9
10
location ~* ^/(apc|info).php$ {
11
auth_basic "Restricted Area";
12
auth_basic_user_file htpasswd;
13
include fastcgi;
14
}
15
16
location ~* ^.+\.php$ {
17
return 404;
18
}
19
20
error_page 404 = @empty;
21
22
location @empty {
23
empty_gif;
24
}
25