restic-rest-server: fix configuration option names

Signed-off-by: Anton Ryzhov <anton@ryzhov.me>
(cherry picked from commit c61ed3e93f)
This commit is contained in:
Anton Ryzhov 2021-03-18 00:09:24 +01:00 committed by Josef Schlehofer
parent 95ed7fcc7b
commit a8c34cbed0
1 changed files with 4 additions and 4 deletions

View File

@ -1,13 +1,13 @@
config rest-server
option enabled '0'
option path '/mnt/backup' # data directory (default "/tmp/restic")
#option append-only '1' # enable append only mode
#option append_only '1' # enable append only mode
#option cpuprofile '/mnt/backup/cpuprofile' # write CPU profile to file
#option debug '1' # output debug messages
#option listen ':8000' # listen address (default ":8000")
#option log '/mnt/backup/http.log' # log HTTP requests in the combined log format
#option private-repos '1' # users can only access their private repo
#option private_repos '1' # users can only access their private repo
#option prometheus '1' # enable Prometheus metrics
#option tls '1' # turn on TLS support
#option tls-cert '/mnt/backup/public_key' # TLS certificate path
#option tls-key '/mnt/backup/private_key' # TLS key path
#option tls_cert '/mnt/backup/public_key' # TLS certificate path
#option tls_key '/mnt/backup/private_key' # TLS key path