Stumped with issue of Nginx passing requests to php-fpm while using SSL

Maxim Dounin mdounin at mdounin.ru
Fri Sep 27 11:41:13 UTC 2013


Hello!

On Fri, Sep 27, 2013 at 10:45:34AM +1200, Steve Holdoway wrote:

> OK, the problem is that you're listening on *http* on port 443. You need
> to use 
> 
> 	listen 443 ssl [default];
> 
> for ssl. 

The config posted uses "ssl on", which is a valid way to configure 
ssl on all sockets used in a server{} block, see 
http://nginx.org/r/ssl.

While it is recommended to use "listen ... ssl" instead as it 
allows to combine ssl and non-ssl listens in one server{} block, 
it's not something required.

-- 
Maxim Dounin
http://nginx.org/en/donation.html



More information about the nginx mailing list