From 4a9272a04e8e967ff099b18e3ba4ffcce8892063 Mon Sep 17 00:00:00 2001 From: Jason Song Date: Sat, 27 Apr 2024 21:29:10 +0800 Subject: [PATCH] sync apollo portal server config to apollo quick start server --- CHANGES.md | 2 +- apollo-assembly/src/main/resources/application.yml | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index dd8bd9258e9..0ee49d99330 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -10,7 +10,7 @@ Apollo 2.3.0 * [Fix the issue that the length of private namespaces are mis-calculated](https://github.com/apolloconfig/apollo/pull/5078) * [apollo assembly optimization](https://github.com/apolloconfig/apollo/pull/5035) * [update the config item table column width](https://github.com/apolloconfig/apollo/pull/5131) - +* [sync apollo portal server config to apollo quick start server](https://github.com/apolloconfig/apollo/pull/5134) ------------------ All issues and pull requests are [here](https://github.com/apolloconfig/apollo/milestone/14?closed=1) diff --git a/apollo-assembly/src/main/resources/application.yml b/apollo-assembly/src/main/resources/application.yml index 852795e7d6a..7dad78c2e07 100644 --- a/apollo-assembly/src/main/resources/application.yml +++ b/apollo-assembly/src/main/resources/application.yml @@ -58,3 +58,14 @@ eureka: eurekaServiceUrlPollIntervalSeconds: 60 fetch-registry: false registerWithEureka: false + +server: + compression: + enabled: true + tomcat: + use-relative-redirects: true + servlet: + session: + cookie: + # prevent csrf + same-site: Lax