External Redirect when expecting internal redirect

Thomas Glanzmann thomas at glanzmann.de
Sun Mar 10 13:28:15 UTC 2013


Hello Francis,

* Francis Daly <francis at daoine.org> [2013-03-10 13:57]:
> You can use an internal rewrite to a file, provided that you actually
> rewrite to a file. Here, you rewrite to a directory without including
> the trailing /.

I wanted to rewrite to a directory. I see my mistake now and it should
have been obvious to me, but was not.

> Possibly setting the default in the map to "blank/" will help?

Yes, it resolved my issue. Now it works perfectly fine. Thank you for
helping me out. I was searching for two hours now.

Cheers,
        Thomas



More information about the nginx mailing list