url rewrite help

rkmr.em at gmail.com rkmr.em at gmail.com
Sat Dec 8 20:31:49 MSK 2007

i am moving from lighttpd to nginx, and I had this rewrite in lighttd. how
do i do this in nginx?

   "^/[^/]+\.xml$" => "/static$0",

i tried and dint work
  rewrite    ^/[^/]+\.xml$  /static$1;

how do i fix this?
thanks  a lot!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20071208/3bc7734c/attachment.html>

More information about the nginx mailing list