diff --git a/.env.development b/.env.development index a28ecd3..975fccb 100755 --- a/.env.development +++ b/.env.development @@ -6,4 +6,4 @@ VITE_USE_COMPRESS=false VITE_USE_REPORT=false -VITE_BASE_API_URL='http://192.168.2.107:8088' \ No newline at end of file +VITE_BASE_API_URL='http://139.224.10.234:8088' \ No newline at end of file diff --git a/h5.conf b/h5.conf index b629346..d803216 100755 --- a/h5.conf +++ b/h5.conf @@ -1,6 +1,27 @@ server { listen 80; - server_name swfc.store; + listen [::]:80; + server_name swfc.flameby.com; + + listen 443 ssl; + server_name swfc.flameby.com; + + ssl_certificate /etc/nginx/ssl/swfc.flameby.com/swfc.flameby.com.pem; + ssl_certificate_key /etc/nginx/ssl/swfc.flameby.com/swfc.flameby.com.key; + # 配置SSL参数 + ssl_protocols TLSv1.2 TLSv1.3; # 指定支持的SSL/TLS协议版本 + ssl_prefer_server_ciphers on; # 使用服务器端加密套件顺序 + ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH'; # 指定加密套件 + + # 配置其他SSL选项 + ssl_session_timeout 1d; # SSL会话过期时间 + ssl_session_cache shared:SSL:10m; # SSL会话缓存大小 + ssl_session_tickets off; # 禁用SSL会话票据 + + # 配置HTTP到HTTPS的重定向(可选) + if ($scheme != "https") { + return 301 https://swfc.flameby.com; + } gzip on; # 定义要压缩的文件类型 diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 9384277..ed0b20d 100755 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -171,7 +171,7 @@ jumpBtn: false, autoClose: true, canvas: false, - isRotate: true, + isRotate: false, onPlay() {}, onPause() {}, onEnd() {