Improve web service related aspects

This commit is contained in:
2025-11-22 17:09:25 +08:00
parent 2a3ef3e52a
commit 27fc5c1fd6
7 changed files with 158 additions and 6 deletions

View File

@@ -1,9 +1,21 @@
{
"server": {
"host": "0.0.0.0",
"port": 2233
"port": 2233,
"tls": {
"enabled": false,
"cert_file": "",
"key_file": ""
},
"advanced": {
"read_timeout": 30,
"write_timeout": 30,
"idle_timeout": 300,
"max_header_bytes": 1
}
},
"database": {
"driver": "mysql",
"host": "localhost",
"port": 3306,
"username": "root",