Browse Source

请求头大小限制

gaodm 6 years ago
parent
commit
36273a59bd

+ 3 - 0
config-server/src/main/resources/shared/application-dev.yml

@@ -65,5 +65,8 @@ spring:
     date-format: yyyy-MM-dd HH:mm:ss
     time-zone: GMT+8
 
+server:
+  max-http-header-size: 10MB
+
 swagger:
   enable: true

+ 3 - 0
config-server/src/main/resources/shared/application-local.yml

@@ -65,5 +65,8 @@ spring:
     date-format: yyyy-MM-dd HH:mm:ss
     time-zone: GMT+8
 
+server:
+  max-http-header-size: 10MB
+
 swagger:
   enable: true

+ 3 - 0
config-server/src/main/resources/shared/application-pro.yml

@@ -65,5 +65,8 @@ spring:
     date-format: yyyy-MM-dd HH:mm:ss
     time-zone: GMT+8
 
+server:
+  max-http-header-size: 10MB
+
 swagger:
   enable: false

+ 3 - 0
config-server/src/main/resources/shared/application-test.yml

@@ -65,5 +65,8 @@ spring:
     date-format: yyyy-MM-dd HH:mm:ss
     time-zone: GMT+8
 
+server:
+  max-http-header-size: 10MB
+
 swagger:
   enable: true