From dbdd75090411d8bd6a1a7351e63fe9773cd8c636 Mon Sep 17 00:00:00 2001 From: guiwankai Date: Fri, 15 Feb 2019 16:12:51 +0800 Subject: [PATCH] fix bug (when use reverse proxy with TLS, "HttpServletResponse.sendRedirect" will redirect to http rather than https) --- apollo-portal/src/main/resources/application.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apollo-portal/src/main/resources/application.yml b/apollo-portal/src/main/resources/application.yml index e3c3f7f28..a53e95259 100644 --- a/apollo-portal/src/main/resources/application.yml +++ b/apollo-portal/src/main/resources/application.yml @@ -13,7 +13,9 @@ server: port: 8070 compression: enabled: true - + tomcat: + use-relative-redirects: true + logging: file: /opt/logs/100003173/apollo-portal.log -- GitLab