title: PCRE Nginx regexp matching any of words or ending with suffix
body: <p>How can I write an Nginx regexp mathing location containg foo|bar|baz or ending with /beautifu.html?</p>
  <p>sth like <code>location ~ ^/.*(foo|bar|baz)/.*$</code> but also matching .*/beautiful.html</p>