Welcome! Log In Create A New Profile

Advanced

Re: Redirect http:8080 to https:8443

June 05, 2017 08:50AM
That should work, whats the output you get using curl or httpie.

the same config works fine for me:

$ curl -I http://127.0.0.1:8080

HTTP/1.1 301 Moved Permanently
Server: nginx/1.10.0 (Ubuntu)
Date: Mon, 05 Jun 2017 12:45:13 GMT
Content-Type: text/html
Content-Length: 194
Connection: keep-alive
Location: https://127.0.0.1:8443/ <---------------------------------------

$ http -h http://127.0.0.1:8080
HTTP/1.1 301 Moved Permanently
Connection: keep-alive
Content-Length: 194
Content-Type: text/html
Date: Mon, 05 Jun 2017 12:45:22 GMT
Location: https://127.0.0.1:8443/ <--------------------------------------
Server: nginx/1.10.0 (Ubuntu)
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Redirect http:8080 to https:8443

ST June 05, 2017 08:30AM

Re: Redirect http:8080 to https:8443

Jim Ohlstein June 05, 2017 08:44AM

Re: Redirect http:8080 to https:8443

mike-pt June 05, 2017 08:50AM

Re: Redirect http:8080 to https:8443

ST June 05, 2017 09:02AM

Re: Redirect http:8080 to https:8443

Anonymous User June 05, 2017 09:18AM

Re: Redirect http:8080 to https:8443

ST June 05, 2017 10:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 268
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready