I have been experimenting with this:

                location ^~ /[a-zA-Z]+/ {
                        rewrite ^/(.*)/(.*) /$2;
                }

Of course I am getting 404 errors...

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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to