|
@@ -239,21 +239,11 @@ http
|
|
|
|
|
|
server
|
|
|
{
|
|
|
- listen 443 ssl;
|
|
|
+ listen 80;
|
|
|
set $folder_name /var/www/html;
|
|
|
server_name 121.89.223.81;
|
|
|
root $folder_name;
|
|
|
|
|
|
- ssl_certificate cert/www.xyzshops.cn.pem;
|
|
|
- ssl_certificate_key cert/www.xyzshops.cn.key;
|
|
|
-
|
|
|
- ssl_session_cache shared:SSL:1m;
|
|
|
- ssl_session_timeout 5m;
|
|
|
-
|
|
|
- ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4; #使用此加密套件。
|
|
|
- ssl_protocols TLSv1 TLSv1.1 TLSv1.2; #使用该协议进行配置。
|
|
|
- ssl_prefer_server_ciphers on;
|
|
|
-
|
|
|
index index.html index.php;
|
|
|
client_max_body_size 100m;
|
|
|
proxy_connect_timeout 500s;
|