新增 scheme 强制替换为 https 的过滤器,用于当 nginx 配置了 ssl,而被代理的系统不采用 ssl 的时候使用。

This commit is contained in:
thinkgem
2020-01-21 10:34:36 +08:00
parent 62df63900d
commit 47d3d5bd78
2 changed files with 73 additions and 0 deletions

View File

@@ -26,6 +26,9 @@ server:
tomcat:
uri-encoding: UTF-8
# 将请求协议转换为 https
schemeHttps: false
#======================================#
#========== Database sttings ==========#
#======================================#