Hello,

You can try
location ~ (render_img.php|^/url_rewriting.php$) {}
Which should effectively do the same

On 07.05.2018 15:24, Vincent wrote:

Hello,

I have 2 location blocks like that:


|location =/url_rewriting.php {|

and


||||location ~render_img.php {||


with exactly the same content.


Is it possible to use an OR to have only one location block?

Thanks in advance,

Vincent.



_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx


_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to