diff --git a/config/.gitignore b/config/.gitignore index 8b3329f172..a57b3441a4 100644 --- a/config/.gitignore +++ b/config/.gitignore @@ -1 +1,2 @@ webdav.yml +webdav.json diff --git a/config/example.json b/config/example.json new file mode 100644 index 0000000000..f818a7121d --- /dev/null +++ b/config/example.json @@ -0,0 +1,11 @@ +{ + "debug": { + "addr": "0.0.0.0:8180", + "token": "", + "pprof": false + }, + "http": { + "addr": "0.0.0.0:8190", + "root": "/" + } +} diff --git a/config/example.yml b/config/example.yml index 467d30c5d1..92d0f835ea 100644 --- a/config/example.yml +++ b/config/example.yml @@ -1,8 +1,11 @@ --- server: addr: 0.0.0.0:8180 + token: + pprof: false metrics: addr: 0.0.0.0:8190 + root: / ...