Primary script unknown error - can't figure out how to fix
nginx-list at puzzled.xs4all.nl
Tue Jan 8 20:39:49 UTC 2013
On 01/08/2013 08:44 PM, Steve Holdoway wrote:
> At first glance I can't see anything listening on port 443.
Thanks Steve. It was a copy & paste error. Here's what it really should be:
listen IP:80; # IPv4
listen IP:80; # IPv6
# always redirect to the ssl version
rewrite ^ https://$server_name$request_uri? permanent;
listen IP:443 ssl; # IPv4
listen IP:443 ssl ;
## SSL config
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
The SSL part works fine.
More information about the nginx