mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Put the comments on empty lines
Comments are not officially allowed at the end of content lines
This commit is contained in:
parent
7f67f3953c
commit
00c9fa48ad
3 changed files with 14 additions and 7 deletions
|
@ -10,7 +10,8 @@ command line arguments.
|
|||
An example configuration file looks like:
|
||||
```ini
|
||||
[server]
|
||||
hosts = 0.0.0.0:5232 # Bind all addresses
|
||||
# Bind all addresses
|
||||
hosts = 0.0.0.0:5232
|
||||
|
||||
[auth]
|
||||
type = htpasswd
|
||||
|
|
|
@ -32,12 +32,14 @@ keys = file
|
|||
keys = full
|
||||
|
||||
[logger_root]
|
||||
level = WARNING # Change this to DEBUG or INFO for higher verbosity.
|
||||
# Change this to DEBUG or INFO for higher verbosity.
|
||||
level = WARNING
|
||||
handlers = file
|
||||
|
||||
[handler_file]
|
||||
class = FileHandler
|
||||
args = ('/var/log/radicale/log',) # Specify the output file here.
|
||||
# Specify the output file here.
|
||||
args = ('/var/log/radicale/log',)
|
||||
formatter = full
|
||||
|
||||
[formatter_full]
|
||||
|
|
12
setup.md
12
setup.md
|
@ -53,7 +53,8 @@ Authentication can be enabled with the following configuration:
|
|||
[auth]
|
||||
type = htpasswd
|
||||
htpasswd_filename = /path/to/users
|
||||
htpasswd_encryption = bcrypt # encryption method used in the htpasswd file
|
||||
# encryption method used in the htpasswd file
|
||||
htpasswd_encryption = bcrypt
|
||||
```
|
||||
|
||||
## Addresses
|
||||
|
@ -89,11 +90,14 @@ The default values should be fine for most scenarios.
|
|||
```ini
|
||||
[server]
|
||||
max_connections = 20
|
||||
max_content_length = 10000000 # 1 Megabyte
|
||||
timeout = 10 # seconds
|
||||
# 1 Megabyte
|
||||
max_content_length = 10000000
|
||||
# 10 seconds
|
||||
timeout = 10
|
||||
|
||||
[auth]
|
||||
delay = 1 # Average delay after failed login attempts in seconds
|
||||
# Average delay after failed login attempts in seconds
|
||||
delay = 1
|
||||
```
|
||||
|
||||
## Running as a service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue