How to start off this rule?

filebackup nginx-forum at nginx.us
Sun Sep 27 06:58:44 MSD 2009


Dennis,
Thank you.

I will try it.
> location ~ ^/download/.*/config




Dennis Brakhane Wrote:
-------------------------------------------------------
> > location ~ /download/*/config {
> 
> If I'm not mistaken, this would match
> "/download////////config" as well
> as "foo/download///config", but not
> "/download/foo/config"
> 
> Try
> location ~ ^/download/.*/config

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,9118,9452#msg-9452






More information about the nginx mailing list