<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 10, 2010, at 7:23 PM, Boris Dolgov wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Hello!<br><br>On Thu, Jun 10, 2010 at 8:44 PM, Rob Schultz &lt;<a href="mailto:rschultz7@gmail.com">rschultz7@gmail.com</a>&gt; wrote:<br><blockquote type="cite">Just for clarification it doesn't matter logically where he puts the<br></blockquote><blockquote type="cite">location as long they are in the same server section. NginX uses the most<br></blockquote><blockquote type="cite">specific match first no the first match found in the file.<br></blockquote><blockquote type="cite"><a href="http://wiki.nginx.org/NginxHttpCoreModule#location">http://wiki.nginx.org/NginxHttpCoreModule#location</a><br></blockquote><br>No. For locations, defined with regular expressions, the first match<br>is being used. This is written in you link:<br><blockquote type="cite">3. Regular expressions, in the order they are defined in the configuration file.<br></blockquote><blockquote type="cite">4. If #3 yielded a match, that result is used.<br></blockquote><br></span></blockquote>Thanks for correcting me. LOL i always thought more exact match even with regular expressions matched first.</div><div><br></div><div><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">--<span class="Apple-converted-space">&nbsp;</span><br>Boris Dolgov.<br></span></blockquote></div><br></body></html>