Fix radicale

This commit is contained in:
Nemo 2021-04-14 12:30:35 +05:30
parent 9273447567
commit 8d7875d174
2 changed files with 7 additions and 41 deletions

View File

@ -5,9 +5,6 @@ hosts = 0.0.0.0:5232
# Max parallel connections # Max parallel connections
max_connections = 10 max_connections = 10
# Message displayed in the client when a password is needed
realm = Authentication required
[auth] [auth]
# Authentication method # Authentication method
@ -20,6 +17,8 @@ filesystem_folder = /data/collections
[logging] [logging]
level = warning
# For more information about the syntax of the configuration file, see: # For more information about the syntax of the configuration file, see:
# http://docs.python.org/library/logging.config.html # http://docs.python.org/library/logging.config.html
# config = /config/logging # config = /config/logging

View File

@ -35,64 +35,31 @@ hosts = 0.0.0.0:5232
# Max parallel connections # Max parallel connections
max_connections = 10 max_connections = 10
# Message displayed in the client when a password is needed
realm = Authentication required
[auth] [auth]
# Authentication method # Authentication method
# Value: none | htpasswd | remote_user | http_x_remote_user # Value: none | htpasswd | remote_user | http_x_remote_user
type = htpasswd type = htpasswd
htpasswd_filename = /config/users htpasswd_filename = /config/users
htpasswd_encryption = bcrypt
[storage] [storage]
filesystem_folder = /data/collections filesystem_folder = /data/collections
[logging] [logging]
level=warning
# For more information about the syntax of the configuration file, see:
# http://docs.python.org/library/logging.config.html
# config = /config/logging
[headers] [headers]
# Additional HTTP headers # Additional HTTP headers
X-Powered-By: Allomancy X-Powered-By: Allomancy
Server: Blackbox Server: Blackbox
EOT EOT
file = "/config/config"
file = "/config/config"
}, },
{ {
content = <<EOT content = <<EOT
[loggers] nemo:$2y$05$vC1WTAuKn2xuDYZ6I3ucxuPnCrtZrVKzdDHSYhqCegi97RM/pdzXW
keys = root axy:$2b$10$iqCLs3F1IRDBoSGxGlsOFO9C3peh8QH14hMnHN4o6oqu21PWL9vu2
[handlers]
keys = file
[formatters]
keys = full
[logger_root]
# Change this to DEBUG or INFO for higher verbosity.
level = WARNING
handlers = file
[handler_file]
class = FileHandler
# Specify the output file here.
args = ('/var/log/radicale/log',)
formatter = full
[formatter_full]
format = %(asctime)s - [%(thread)x] %(levelname)s: %(message)s
EOT EOT
file = "/config/logging"
},
{
content = "nemo:$2y$05$vC1WTAuKn2xuDYZ6I3ucxuPnCrtZrVKzdDHSYhqCegi97RM/pdzXW"
file = "/config/users" file = "/config/users"
}, },
] ]