Francis Daly
August 07, 2018 06:28PM
On Tue, Aug 07, 2018 at 03:22:45PM -0400, fugee ohu wrote:

Hi there,

> I'm trying to enable site wide ssl over port 443 on a site that runs
> on http port 80
> In nginx.conf i have `listen 443 ssl;` for the server but requests for
> the server get routed to the first available host on port 80, another
> of my sites also in the nginx.conf How can I diagnose this to see
> what's going on?

curl -v https://www.sitename.com

The response will be interesting.

My guess is that your rails/passenger settings (outside of nginx) are
causing a http redirect to something like http://www.sitename.com; and
because you have disabled the http server for that name, it is handled
by the default server on that ip:port.

If that is the case -- check your rails/passenger setting to see if they
refer to http anywhere, and make them not.

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

HTTPS over port 443

fugee ohu August 07, 2018 03:24PM

Re: HTTPS over port 443

basti August 07, 2018 03:30PM

Re: HTTPS over port 443

fugee ohu August 07, 2018 03:40PM

Re: HTTPS over port 443

fugee ohu August 07, 2018 03:40PM

Re: HTTPS over port 443

fugee ohu August 07, 2018 03:42PM

Re: HTTPS over port 443

basti August 07, 2018 03:48PM

Re: HTTPS over port 443

fugee ohu August 07, 2018 04:00PM

Re: HTTPS over port 443

jeffdyke August 07, 2018 06:24PM

Re: HTTPS over port 443

fugee ohu August 07, 2018 07:20PM

Re: HTTPS over port 443

Francis Daly August 07, 2018 06:28PM

Re: HTTPS over port 443

fugee ohu August 07, 2018 07:22PM

Re: HTTPS over port 443

Francis Daly August 08, 2018 03:18AM

Re: HTTPS over port 443

fugee ohu August 08, 2018 06:44PM

Re: HTTPS over port 443

Francis Daly August 09, 2018 03:32AM

Re: HTTPS over port 443

fugee ohu August 08, 2018 07:00PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 134
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