Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
ichunt-micro-v2
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6b4d95c7
authored
Dec 24, 2020
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
ac451da9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
19 deletions
conf/dev/base.toml
conf/prod/base.toml
conf/dev/base.toml
View file @
6b4d95c7
...
...
@@ -4,16 +4,6 @@
debug_mode
=
"debug"
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_level
=
"trace"
#日志打印最低级别
...
...
conf/prod/base.toml
View file @
6b4d95c7
...
...
@@ -4,15 +4,7 @@
debug_mode
=
"debug"
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]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment