环境:
一台服务器上部署了一个tomcat,一个C++项目,tomcat是8000端口,C++为8001,然后因为上头压力,说需要使用https,就部署了一个nginx配置了https.端口8003
用户通过https 8003 访问tomcat http的8000
问题:
tomcat里面有前端直接调取了C++里的Http接口,但是就出现了"This request has been blocked; the content must be served over HTTPS.",在只改nginx配置的情况下怎么能让前端通过http访问C++呢?
谢谢各位了!
nginx 配置Https后前端访问http 出现报错
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-