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:
|
An example configuration file looks like:
|
||||||
```ini
|
```ini
|
||||||
[server]
|
[server]
|
||||||
hosts = 0.0.0.0:5232 # Bind all addresses
|
# Bind all addresses
|
||||||
|
hosts = 0.0.0.0:5232
|
||||||
|
|
||||||
[auth]
|
[auth]
|
||||||
type = htpasswd
|
type = htpasswd
|
||||||
|
|
|
@ -32,12 +32,14 @@ keys = file
|
||||||
keys = full
|
keys = full
|
||||||
|
|
||||||
[logger_root]
|
[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
|
handlers = file
|
||||||
|
|
||||||
[handler_file]
|
[handler_file]
|
||||||
class = FileHandler
|
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
|
||||||
|
|
||||||
[formatter_full]
|
[formatter_full]
|
||||||
|
|
12
setup.md
12
setup.md
|
@ -53,7 +53,8 @@ Authentication can be enabled with the following configuration:
|
||||||
[auth]
|
[auth]
|
||||||
type = htpasswd
|
type = htpasswd
|
||||||
htpasswd_filename = /path/to/users
|
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
|
## Addresses
|
||||||
|
@ -89,11 +90,14 @@ The default values should be fine for most scenarios.
|
||||||
```ini
|
```ini
|
||||||
[server]
|
[server]
|
||||||
max_connections = 20
|
max_connections = 20
|
||||||
max_content_length = 10000000 # 1 Megabyte
|
# 1 Megabyte
|
||||||
timeout = 10 # seconds
|
max_content_length = 10000000
|
||||||
|
# 10 seconds
|
||||||
|
timeout = 10
|
||||||
|
|
||||||
[auth]
|
[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
|
## Running as a service
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue