NGinx Rewrite Maps
October 12, 2009 10:56AM
Anyone ever configured NGINX with a file of rewrite rules? Wiki is down for the past few days, so I haven't been able to check out the documentation, but I'm sure its possible, right?
Re: NGinx Rewrite Maps
October 13, 2009 10:30AM
Wiki is back up. I never tried using including a file containing rewrite rules but something like

[code]
location /some_location {
include /path/to/rewrite.txt;
...
}
[/code]

should work.

--
Jim Ohlstein
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 64
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready