title: Nginx hashtag rewrite rule
body: <p>How can I create this <code>rewrite</code> rule using regex in nginx:</p>
  
  <p><a href="http://www.example.com/my-path-here#hashvalue" rel="nofollow noreferrer">http://www.example.com/my-path-here#hashvalue</a></p>
  
  <p>to</p>
  
  <p><a href="http://www.example.com/my-path-here/#hashvalue" rel="nofollow noreferrer">http://www.example.com/my-path-here/#hashvalue</a> ?</p>