配置文件格式调整.

This commit is contained in:
aoshiguchen
2022-07-09 18:11:28 +08:00
parent ed2645ec69
commit 910e4cc335
5 changed files with 53 additions and 47 deletions
@@ -34,7 +34,7 @@ import java.util.Map;
* @date: 2022/6/16
*/
@Data
@Configuration(prefix = "proxy")
@Configuration(prefix = "neutrino.proxy")
public class ProxyConfig {
private Protocol protocol;
private Server server;
@@ -1,22 +1,23 @@
application:
name: neutrino-proxy-server
neutrino:
application:
name: neutrino-proxy-server
proxy:
protocol:
max-frame-length: 2097152
length-field-offset: 0
length-field-length: 4
initial-bytes-to-strip: 0
length-adjustment: 0
read-idle-time: 60
write-idle-time: 40
all-idle-time-seconds: 0
server:
port: 9000
ssl-port: 9002
key-store-password: 123456
key-manager-password: 123456
jks-path: classpath:/test.jks
license:
79419a1a8691413aa5e845b9e3e90051: 3
9352b1c25f564c81a5677131d7769876: 2
proxy:
protocol:
max-frame-length: 2097152
length-field-offset: 0
length-field-length: 4
initial-bytes-to-strip: 0
length-adjustment: 0
read-idle-time: 60
write-idle-time: 40
all-idle-time-seconds: 0
server:
port: 9000
ssl-port: 9002
key-store-password: 123456
key-manager-password: 123456
jks-path: classpath:/test.jks
license:
79419a1a8691413aa5e845b9e3e90051: 3
9352b1c25f564c81a5677131d7769876: 2