mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-27 09:58:14 +00:00
config(): disable service name in header (#13638)
This commit is contained in:
parent
fea6e6ac4f
commit
8787892cbb
@ -373,7 +373,8 @@ spring:
|
||||
protocol: ${KAFKA_PROPERTIES_SECURITY_PROTOCOL:PLAINTEXT}
|
||||
|
||||
# Useful to debug low-level Spring errors such as class version mismatches
|
||||
#server:
|
||||
server:
|
||||
server-header: false
|
||||
# error:
|
||||
# include-message: always
|
||||
# include-binding-errors: always
|
||||
|
||||
@ -76,6 +76,7 @@ public class CommonApplicationConfig {
|
||||
// HTTP Configuration
|
||||
HttpConfiguration httpConfig = new HttpConfiguration();
|
||||
httpConfig.setRequestHeaderSize(32768);
|
||||
httpConfig.setSendServerVersion(false);
|
||||
|
||||
// See https://github.com/jetty/jetty.project/issues/11890
|
||||
// Configure URI compliance to allow encoded slashes
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user