title: Typing a URL http address in Firefox will auto redirect to HTTPS
body: <p>I have this minor but annoying problem in Firefox. </p>
  
  <p>I have one server with two web server instances:</p>
  
  <ol>
  <li><strong>nginx web server that will auto redirect to HTTPS</strong> </li>
  <li><strong>built in web server in Rocket.Chat messaging platform</strong>.</li>
  </ol>
  
  <p>The Rocket.Chat's built-in web server will accept connections at this port: 8818. Accessing first the Rocket.Chat's web server at port 8818 is fine(<a href="http://ip-server:8818" rel="nofollow">http://ip-server:8818</a>). But after when I type the <a href="http://ip-server/" rel="nofollow">http://ip-server/</a>, it will naturally redirect to <a href="https://ip-server" rel="nofollow">https://ip-server</a> as expected because nginx was configured to redirect 80 traffic to 443(https), the problem is whenever I will go first with the https site (<a href="https://ip-server" rel="nofollow">https://ip-server</a>), going with <a href="http://ip-server:8818" rel="nofollow">http://ip-server:8818</a> will force the browser to redirect to <a href="https://ip-server:8818" rel="nofollow">https://ip-server:8818</a> making my install of Rocket.Chat no longer accessible. It can be partially fixed by clearing history, and then I'll go first with the <a href="http://ip-server:8818" rel="nofollow">http://ip-server:8818</a>. I am force to isolate the two instances to temporarily fix this issue, one in a private window and the other in a normal session.</p>
  
  <p>I also find out that this is also the case when browsing with Google Chrome. Have any of you with the idea how to fix this? I think because this is common to both browsers, I must configure the server side of things(Nginx or the Rocket.Chat).</p>
  
  <p>I tried Changing Firefox's browser.urlbar.autoFill to false in about:config to no avail.</p>
  
  <p>Thanks,
  Allan</p>