server
{
listen 443;
server_name www.test.com;
root /data/www/www.test.com;
index index.html index.htm index.php default.html default.htm default.php;
ssl on;
ssl_certificate /data/www.test.com/key/1.crt;
ssl_certificate_key /data/www.test.com/key/1.key;
ssl_session_timeout 5m;
ssl_protocols SSLv3 TLSv1;
{
listen 443;
server_name www.test.com;
root /data/www/www.test.com;
index index.html index.htm index.php default.html default.htm default.php;
ssl on;
ssl_certificate /data/www.test.com/key/1.crt;
ssl_certificate_key /data/www.test.com/key/1.key;
ssl_session_timeout 5m;
ssl_protocols SSLv3 TLSv1;
编辑回复