Commit 6b4d95c7 by 孙龙

up

parent ac451da9
Showing with 1 additions and 19 deletions
...@@ -4,16 +4,6 @@ ...@@ -4,16 +4,6 @@
debug_mode="debug" debug_mode="debug"
time_location="Asia/Chongqing" time_location="Asia/Chongqing"
[http]
addr =":2002" # 监听地址, default ":8700"
read_timeout = 10 # 读取超时时长
write_timeout = 10 # 写入超时时长
max_header_bytes = 20 # 最大的header大小,二进制位长度
allow_ip = [ # 白名单ip列表
"127.0.0.1",
"192.168.1.1",
]
[log] [log]
log_level = "trace" #日志打印最低级别 log_level = "trace" #日志打印最低级别
......
...@@ -4,15 +4,7 @@ ...@@ -4,15 +4,7 @@
debug_mode="debug" debug_mode="debug"
time_location="Asia/Chongqing" time_location="Asia/Chongqing"
[http]
addr =":2002" # 监听地址, default ":8700"
read_timeout = 10 # 读取超时时长
write_timeout = 10 # 写入超时时长
max_header_bytes = 20 # 最大的header大小,二进制位长度
allow_ip = [ # 白名单ip列表
"127.0.0.1",
"192.168.1.1",
]
[log] [log]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment