Use listen 443 ssl instead of ssl on in vhost conf file
This commit is contained in:
1 parent
e2a5e92cf7
commit
e33f5c94a5
1 file changed
+2
-3
@@ -31,11 +31,10 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen [::]:443;
|
listen [::]:443 ssl;
|
||||||
listen 443;
|
listen 443 ssl;
|
||||||
server_name $hostname;
|
server_name $hostname;
|
||||||
|
|
||||||
ssl on;
|
|
||||||
ssl_certificate $SSL_INUSE/server.crt;
|
ssl_certificate $SSL_INUSE/server.crt;
|
||||||
ssl_certificate_key $SSL_INUSE/server.key;
|
ssl_certificate_key $SSL_INUSE/server.key;
|
||||||
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-RC4-SHA:ECDHE-RSA-AES128-SHA:AES128-GCM-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH:!CAMELLIA;
|
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-RC4-SHA:ECDHE-RSA-AES128-SHA:AES128-GCM-SHA256:RC4:HIGH:!MD5:!aNULL:!EDH:!CAMELLIA;
|
||||||
|
|||||||
Reference in new issue
Block a user