How to catch a request that has a given word in url?
Fernando Perez
lists at ruby-forum.com
Mon Aug 9 13:53:30 MSD 2010
> Place
>
> location ~ /WORD/ {
> ...
> }
>
> as the first location in a server.
I have placed as the first location of my server:
location ~ /WORD/ {
internal;
root ...
}
But it still gets served directly by nginx. I'd like to use it with
X-Accel-Redirect, but first I need to make sure that people can't access
these files directly.
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list