我们最近搬到我们的应用程序到HTTPS域名,但现在我们所有的内容从服务器被服务被屏蔽的资源被阻止HTTPS Thymeleaf
这是下面的消息,我们正在对所有:
Mixed Content: The page at 'https://localhost:8443/login' was loaded over HTTPS, but requested an insecure stylesheet 'http://localhost:8080/resources/css/base.css'. This request has been blocked; the content must be served over HTTPS.
在我们的HTML,我们通过下面一行调用此:
<link th:href="@{/resources/css/baseline.css}" type="text/css" media="all" rel="stylesheet"/>
谁能帮助我们找出我们应该如何为我们的CSS/JS等内容,并把它活像k在https环境中。
仅供参考我们正在使用Spring MVC作为我们的应用程序框架。