解决js加载使用http的问题 控制台错误提示: Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure script ''. This request has been blocked; the content must be served over HTTPS. 解决方案: 1.Nginx对应server的location添加配置 proxy_set_header Host $host; p
1.http升级到https 1.1.检查 Nginx 是否支持 SSL /usr/local/nginx/sbin/nginx -V configure arguments中是否有--with-http_ssl_module 如: nginx version: nginx/ built by gcc (Red Hat -) (GCC) built with OpenSSL Jan TLS SNI support enabled configure arguments: --with-http_