title: HTML - How http-equiv="refresh" redirects to a page without full URL?
body: <p>I have a html page <code>index.html</code> with the following in the <code>&lt;HEAD&gt;</code> tag to redirect the user to another page when accessed:</p>
  
  <pre><code>&lt;meta http-equiv="REFRESH" content="0; url=main.html"&gt;
  </code></pre>
  
  <p>This works fine in our development environment. However when we move the page to behind a proxy server with SSL termination, the URL is different instead, i.e. when accessing 
  <code>https://mydomain.com:443/index.html</code> it will redirect to <code>main.html</code> with this URL <code>http://mydomain.com:8080/main.html</code> which is not what we expected.</p>
  
  <p>My question is, how does the http-equiv get the complete URL path since we're not specifying it, and whether it has anything to do with the end result where the actual port of the application server is being used in the browser, rather than the reverse proxy's port and protocol.</p>
  
  <p>Thank you.</p>