Reverse proxy SSL subdomain

Maxim Dounin mdounin at
Tue Jul 8 14:55:24 UTC 2014


On Tue, Jul 08, 2014 at 10:45:30AM -0400, picanha wrote:


> 		listen 80;
> 		listen 443 ssl;
> 		ssl on;

Note that such a configuration is wrong.  Connections to port 80 
(plain http) will try to use SSL with such a configuration.  The 
"ssl" directive should be removed if you are configuring a single 
http/https server.

See here for details:

Maxim Dounin

More information about the nginx mailing list