<div dir="ltr"><div class="gmail_extra">That should work, whats the output you get using curl or httpie.<br><br>the same config works fine for me:<br><br><div class="gmail_extra">$ curl -I <a href="http://127.0.0.1:8080">http://127.0.0.1:8080</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">HTTP/1.1 301 Moved Permanently</div><div class="gmail_extra">Server: nginx/1.10.0 (Ubuntu)</div><div class="gmail_extra">Date: Mon, 05 Jun 2017 12:45:13 GMT</div><div class="gmail_extra">Content-Type: text/html</div><div class="gmail_extra">Content-Length: 194</div><div class="gmail_extra">Connection: keep-alive</div><div class="gmail_extra">Location: <a href="https://127.0.0.1:8443/">https://127.0.0.1:8443/</a> <---------------------------------------</div><div class="gmail_extra"><br></div><div class="gmail_extra">$ http -h <a href="http://127.0.0.1:8080">http://127.0.0.1:8080</a><br></div><div class="gmail_extra">HTTP/1.1 301 Moved Permanently</div><div class="gmail_extra">Connection: keep-alive</div><div class="gmail_extra">Content-Length: 194</div><div class="gmail_extra">Content-Type: text/html</div><div class="gmail_extra">Date: Mon, 05 Jun 2017 12:45:22 GMT</div><div class="gmail_extra">Location: <a href="https://127.0.0.1:8443/">https://127.0.0.1:8443/</a> <--------------------------------------</div><div class="gmail_extra">Server: nginx/1.10.0 (Ubuntu)</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div></div>