I don't think there's rails passenger settings Adding passenger to the
Gemfile only causes the app to use passenger in development mode
instead of the default (presently puma)

On Tue, Aug 7, 2018 at 6:26 PM, Francis Daly <fran...@daoine.org> wrote:
> 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        fran...@daoine.org
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to