配置文件格式调整.
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ import lombok.Data;
|
||||
* @date: 2022/6/16
|
||||
*/
|
||||
@Data
|
||||
@Configuration(prefix = "proxy")
|
||||
@Configuration(prefix = "neutrino.proxy")
|
||||
public class ProxyConfig {
|
||||
public static ProxyConfig instance;
|
||||
private Protocol protocol;
|
||||
|
||||
@@ -1,19 +1,20 @@
|
||||
application:
|
||||
name: neutrino-proxy-client
|
||||
neutrino:
|
||||
application:
|
||||
name: neutrino-proxy-client
|
||||
|
||||
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: 30
|
||||
all-idle-time-seconds: 0
|
||||
client:
|
||||
key-store-password: 123456
|
||||
jks-path: classpath:/test.jks
|
||||
server-ip: localhost
|
||||
server-port: 9000
|
||||
ssl-enable: false
|
||||
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: 30
|
||||
all-idle-time-seconds: 0
|
||||
client:
|
||||
key-store-password: 123456
|
||||
jks-path: classpath:/test.jks
|
||||
server-ip: localhost
|
||||
server-port: 9000
|
||||
ssl-enable: false
|
||||
|
||||
Reference in New Issue
Block a user