Skip to content

Commit

Permalink
* Removed index.html from = / location. Thanks to Fidelix.
Browse files Browse the repository at this point in the history
  • Loading branch information
António P. P. Almeida committed Feb 3, 2012
1 parent cae24c4 commit d89ec05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nginx.conf
Expand Up @@ -121,7 +121,7 @@ http {
## upstream.
#include upstream_phpcgi_unix.conf;

## ## If using Nginx version >= 1.1.11 then there's a $https variable
## If using Nginx version >= 1.1.11 then there's a $https variable
## that has the value 'on' if the used scheme is https and '' if not.
## See: http://trac.nginx.org/nginx/changeset/4380/nginx
## http://trac.nginx.org/nginx/changeset/4333/nginx and
Expand Down
2 changes: 1 addition & 1 deletion sites-available/drupal_boost6.conf
Expand Up @@ -23,7 +23,7 @@ location / {
## We have to check for boost generated files for the '/' URI.
## Also try to use index.html whenever there's no index.php.
location = / {
try_files /cache/normal/$host/_${args}.html /cache/perm/$host/_.css /cache/perm/$host/_.js /cache/$host/0/.html /cache/$host/0/index.html /index.php?q=$no_slash_uri&$args /index.html;
try_files /cache/normal/$host/_${args}.html /cache/perm/$host/_.css /cache/perm/$host/_.js /cache/$host/0/.html /cache/$host/0/index.html /index.php;
}

## Using a nested location is the 'correct' way to use regexes.
Expand Down

0 comments on commit d89ec05

Please sign in to comment.