title: Nginx rewrite rule is adding port in url redirection
body: <p>I have below rewrite rule in the nginx.conf</p>
  <pre><code>rewrite &quot;^/licenses/GPL-3$&quot; /licenses/gpl3 permanent;
  </code></pre>
  <p>Accessing http://domain_name/licenses/GPL-3 is redirecting the page to http://domain_name:8080/licenses/gpl3.</p>
  <p>I dont need the port in the url redirection. http://domain_name/licenses/GPL-3 should redirect to http://domain_name/licenses/gpl3</p>