Reverse proxy SSL subdomain
Maxim Dounin
mdounin at mdounin.ru
Tue Jul 8 14:55:24 UTC 2014
Hello!
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:
http://nginx.org/en/docs/http/configuring_https_servers.html#single_http_https_server
--
Maxim Dounin
http://nginx.org/
More information about the nginx
mailing list