On Mon, Nov 04, 2013 at 08:51:53PM -0500, etrader wrote:
Hi there,
the answer to the question in the Subject: line is "you don't".
> I have a set of rewrite rules as
>
> rewrite ^/(.*) /script.php?file=$1 last;
>
> location ~ \.php$ {
> php proxy
> }
>
> but I want to make a few exceptions as
I have a set of rewrite rules as
rewrite ^/(.*) /script.php?file=$1 last;
location ~ \.php$ {
php proxy
}
but I want to make a few exceptions as
location = file1|file2|file3 {
static delivery
}
but rewrite will change any static file to php file before the latter
location.
I cannot use rewrit