diff --git a/index.html b/index.html index 2bb52a5..31e5f0f 100755 --- a/index.html +++ b/index.html @@ -26,7 +26,7 @@ var _hmt = _hmt || [] ;(function () { var hm = document.createElement('script') - hm.src = 'https://hm.baidu.com/hm.js?03c9a402c87914c60dbeb07d7c738528' + hm.src = 'https://hm.baidu.com/hm.js?aead83b1b0f20ee468cdb1a81eb2e9c8' var s = document.getElementsByTagName('script')[0] s.parentNode.insertBefore(hm, s) })() diff --git a/nginx.conf b/nginx.conf new file mode 100644 index 0000000..a676ae9 --- /dev/null +++ b/nginx.conf @@ -0,0 +1,179 @@ + +#user nobody; +worker_processes 1; + +#error_log logs/error.log; +#error_log logs/error.log notice; +#error_log logs/error.log info; + +#pid logs/nginx.pid; + + +events { + worker_connections 1024; +} + + +http { + include mime.types; + default_type application/octet-stream; + sendfile on; + keepalive_timeout 65; + + server { + listen 80; + server_name www.iflytop.com; + + #charset koi8-r; + + #access_log logs/host.access.log main; + + location / { + root apps/pc/dist; + try_files $uri $uri/ /index.html; + index index.html index.htm; + } + + location /mobile { + alias apps/mobile/dist; + index index.html index.htm; + try_files $uri $uri/ /mobile/index.html; + } + + + location /pc-design { + alias apps/pc-design/dist; + index index.html index.htm; + try_files $uri $uri/ /pc-design/index.html; + } + location /pc-hardware { + alias apps/pc-hardware/dist; + index index.html index.htm; + try_files $uri $uri/ /pc-hardware/index.html; + } + location /pc-metal { + alias apps/pc-metal/dist; + index index.html index.htm; + try_files $uri $uri/ /pc-metal/index.html; + } + + location /zsjyapi/ { + proxy_pass http://localhost:8080/zsjyapi/; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + } + location /test_result_image/ { + proxy_pass http://localhost:8080/test_result_image/; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + } + + #error_page 404 /404.html; + + # redirect server error pages to the static page /50x.html + # + error_page 500 502 503 504 /50x.html; + location = /50x.html { + root html; + } + + # proxy the PHP scripts to Apache listening on 127.0.0.1:80 + # + #location ~ \.php$ { + # proxy_pass http://127.0.0.1; + #} + + # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 + # + #location ~ \.php$ { + # root html; + # fastcgi_pass 127.0.0.1:9000; + # fastcgi_index index.php; + # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; + # include fastcgi_params; + #} + + # deny access to .htaccess files, if Apache's document root + # concurs with nginx's one + # + #location ~ /\.ht { + # deny all; + #} + } + + + + # another virtual host using mix of IP-, name-, and port-based configuration + # + server { + listen 80; + server_name www.hjyd88.com; + location / { + root apps/hjyd/dist; + if ( $http_user_agent ~ "(MIDP)|(WAP)|(UP.Browser)|(Smartphone)|(Obigo)|(Mobile)|(AU.Browser)|(wxd.Mms)|(WxdB.Browser)|(CLDC)|(UP.Link)|(KM.Browser)|(UCWEB)|(SEMC-Browser)|(Mini)|(Symbian)|(Palm)|(Nokia)|(Panasonic)|(MOT-)|(SonyEricsson)|(NEC-)|(Alcatel)|(Ericsson)|(BENQ)|(BenQ)|(Amoisonic)|(Amoi-)|(Capitel)|(PHILIPS)|(SAMSUNG)|(Lenovo)|(Mitsu)|(Motorola)|(SHARP)|(WAPPER)|(LG-)|(LG/)|(EG900)|(CECT)|(Compal)|(kejian)|(Bird)|(BIRD)|(G900/V1.0)|(Arima)|(CTL)|(TDG)|(Daxian)|(DAXIAN)|(DBTEL)|(Eastcom)|(EASTCOM)|(PANTECH)|(Dopod)|(Haier)|(HAIER)|(KONKA)|(KEJIAN)|(LENOVO)|(Soutec)|(SOUTEC)|(SAGEM)|(SEC-)|(SED-)|(EMOL-)|(INNO55)|(ZTE)|(iPhone)|(Android)|(Windows CE)|(Wget)|(Java)|(curl)|(Opera)" ) { + root apps/mobile-hjyd/dist; + } + index index.html index.htm; + } + } + + # HTTPS server + # + server { + listen 443 ssl; + server_name www.iflytop.com; + # ssl on; + ssl_certificate D:\website_key\www.iflytop.com.pem; + ssl_certificate_key D:\website_key\www.iflytop.com.key; + ssl_session_cache shared:SSL:1m; + ssl_session_timeout 5m; + #自定义设置使用的TLS协议的类型以及加密套件(以下为配置示例,请您自行评估是否需要配置) + #TLS协议版本越高,HTTPS通信的安全性越高,但是相较于低版本TLS协议,高版本TLS协议对浏览器的兼容性较差。 + ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4; + ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3; + + #表示优先使用服务端加密套件。默认开启 + ssl_prefer_server_ciphers on; + + location / { + root apps/pc/dist; + try_files $uri $uri/ /index.html; + index index.html index.htm; + } + + location /mobile { + alias apps/mobile/dist; + index index.html index.htm; + try_files $uri $uri/ /mobile/index.html; + } + + + location /pc-design { + alias apps/pc-design/dist; + index index.html index.htm; + try_files $uri $uri/ /pc-design/index.html; + } + location /pc-hardware { + alias apps/pc-hardware/dist; + index index.html index.htm; + try_files $uri $uri/ /pc-hardware/index.html; + } + location /pc-metal { + alias apps/pc-metal/dist; + index index.html index.htm; + try_files $uri $uri/ /pc-metal/index.html; + } + + location /zsjyapi/ { + proxy_pass http://localhost:8080/zsjyapi/; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + } + location /test_result_image/ { + proxy_pass http://localhost:8080/test_result_image/; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + } + } + +} diff --git a/src/components/CustomerService/index.vue b/src/components/CustomerService/index.vue index 70bbc61..d27841c 100644 --- a/src/components/CustomerService/index.vue +++ b/src/components/CustomerService/index.vue @@ -45,7 +45,7 @@ diff --git a/src/components/MetalPlate/Bottom/NewBottomMetal.vue b/src/components/MetalPlate/Bottom/NewBottomMetal.vue index 080ea94..f061167 100644 --- a/src/components/MetalPlate/Bottom/NewBottomMetal.vue +++ b/src/components/MetalPlate/Bottom/NewBottomMetal.vue @@ -32,7 +32,7 @@ 6 4

- | 袁老师 + | 佟老师
商务咨询: @@ -49,7 +49,7 @@ 6 4

- | 杨老师 + | 佟老师
diff --git a/src/components/MetalPlate/Bottom/NewBottomWhiteMetal.vue b/src/components/MetalPlate/Bottom/NewBottomWhiteMetal.vue index 2e27e93..f623184 100644 --- a/src/components/MetalPlate/Bottom/NewBottomWhiteMetal.vue +++ b/src/components/MetalPlate/Bottom/NewBottomWhiteMetal.vue @@ -32,7 +32,7 @@ 6 4

- | 袁老师 + | 佟老师
商务咨询: @@ -49,7 +49,7 @@ 6 4

- | 杨老师 + | 佟老师