<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      You can try<br>
      location ~ (render_img.php|^/url_rewriting.php$) {}<br>
      Which should effectively do the same<br>
      <br>
      On 07.05.2018 15:24, Vincent wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:adc12a01-3ac9-e3cc-ee4a-df442047f777@free.fr">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <p><font face="Helvetica, Arial, sans-serif">Hello,</font></p>
      <p>I have 2 location blocks like that:</p>
      <p style="margin-top:0;margin-bottom:0"><br>
      </p>
      <pre style="box-sizing: inherit; border: 0px; outline: 0px; vertical-align: baseline; max-width: 100%; background-color: rgb(68, 68, 68); line-height: 1.4; margin-top: 0px; margin-bottom: 0px; overflow: auto; padding: 1em; tab-size: 4; color: rgb(208, 208, 208); font-size: 15px;"><code><span class="pln">    location </span><span class="pun">=</span><span class="pln"> </span><span class="pun">/</span><span class="pln">url_rewriting</span><span class="pun">.</span><span class="pln">php </span><span class="pun">{</span></code></pre>
      <p style="margin-top:0;margin-bottom:0"><span style="font-size:
          12pt;"> </span></p>
      and
      <p style="margin-top:0;margin-bottom:0"><br>
      </p>
      <pre style="box-sizing: inherit; border: 0px; outline: 0px; vertical-align: baseline; max-width: 100%; background-color: rgb(68, 68, 68); line-height: 1.4; margin-top: 0px; margin-bottom: 0px; overflow: auto; padding: 1em; tab-size: 4; color: rgb(208, 208, 208); font-size: 15px;"><code><span class="pln">    </span></code><code><span class="pln"><code><span class="pln">location </span><span class="pun">~</span><span class="pln"> render_img</span><span class="pun">.</span><span class="pln">php  </span><span class="pun">{</span></code></span><span class="pun"></span></code></pre>
      <p style="margin-top:0;margin-bottom:0"><span style="font-size:
          12pt;"> </span></p>
      <p style="margin-top:0;margin-bottom:0"><span style="font-size:
          12pt;"><br>
        </span></p>
      with exactly the same content.
      <div class="post-text" itemprop="text">
        <p><br>
        </p>
        <p>Is it possible to use an OR to have only one location block?</p>
      </div>
      <p>Thanks in advance,</p>
      <p>Vincent.<br>
      </p>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
nginx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nginx@nginx.org">nginx@nginx.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a></pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>