stanley-king 4 anni fa
parent
commit
32eaf9ee7d

+ 1 - 0
docker/compose/xyz-acc/docker-compose.yml

@@ -10,6 +10,7 @@ services:
       - ../../conf/etc/localtime:/etc/localtime:ro
       - /nfs/upload:/var/www/html/data/upload
       - /nfs/merchant:/var/www/html/merchant
+      - /nfs/icp:/var/www/html/icp
       - ../../conf/nginx/cert:/etc/nginx/cert
       - ../../conf/nginx/nginx-xyz-https.conf:/etc/nginx/nginx.conf:ro
     container_name: "panda-nginx"

+ 1 - 11
docker/conf/nginx/nginx-xyz-https.conf

@@ -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;

+ 1 - 1
index.php

@@ -3,4 +3,4 @@ declare(strict_types=0);
 
 $site_url = strtolower('http://'.$_SERVER['HTTP_HOST'].substr($_SERVER['PHP_SELF'], 0, strrpos($_SERVER['PHP_SELF'], '/index.php')).'/shop/index.php');
 //include('shop/index.php');
-header('Location: /project/index.html');
+header('Location: /icp/index.html');