Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

alias is better than rewrite

  • Loading branch information...
commit e66f6a0b04b5e6eba6c97d3424dbcd8a059fc492 1 parent 5cc6fe0
Andrei Belov authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 README.md
5 README.md
View
@@ -143,9 +143,8 @@ header `X-Accel-Internal` to be present.
2. Special internal location:
location /int/ {
- # root must be equal to Apache's DocumentRoot
- root /var/www/site.com;
- rewrite ^/int/(.*)$ /$1 break;
+ # path must be equal to Apache's DocumentRoot
+ alias /var/www/site.com/;
internal;
}
Please sign in to comment.
Something went wrong with that request. Please try again.