2022-04-08 21:47:09 +00:00
|
|
|
{
|
2022-05-12 18:34:10 +00:00
|
|
|
"version": 1,
|
2022-04-08 21:47:09 +00:00
|
|
|
"db": {
|
2022-04-24 22:50:32 +00:00
|
|
|
"address": "redis://redis:6379",
|
2022-04-25 16:59:30 +00:00
|
|
|
"expire_seconds": 259200
|
2022-04-08 21:47:09 +00:00
|
|
|
},
|
|
|
|
"slug_rules": {
|
|
|
|
"length": 5,
|
|
|
|
"chars": "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-"
|
|
|
|
},
|
2022-05-12 18:34:10 +00:00
|
|
|
"log_rules": {
|
|
|
|
"error_log_file": "/data/log/error.log",
|
2024-03-01 22:38:46 +00:00
|
|
|
"access_log_file": "/data/log/access.log",
|
|
|
|
"link_log_file": "/data/log/links.log"
|
2022-05-12 18:34:10 +00:00
|
|
|
},
|
2022-04-08 21:47:09 +00:00
|
|
|
"serve_rules": {
|
2022-04-14 17:14:14 +00:00
|
|
|
"dir": {
|
2022-04-21 21:08:02 +00:00
|
|
|
"Dir": "/data/served"
|
2022-04-14 17:14:14 +00:00
|
|
|
},
|
|
|
|
"addr": {
|
2022-04-24 22:50:32 +00:00
|
|
|
"ip": "0.0.0.0",
|
2022-04-14 17:14:14 +00:00
|
|
|
"port": 8080
|
|
|
|
}
|
2022-04-08 21:47:09 +00:00
|
|
|
}
|
|
|
|
}
|