Rewrite rules

Daniel daniel at
Tue Nov 29 21:51:08 UTC 2016

Hi there,

i try to setup some rules.
I have to rules which conflicts.

rewrite ^/(.*?)/(.*?)/(.*)$ /$3;
#rewrite ^/$ /a/b permanent;

the first Rules is needed from our developer 

the second rules os for a request. The Goal is to redirect all request on any <> to <>

Maybe some has a hint for me.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list