mirror of
https://github.com/hacdias/webdav.git
synced 2026-09-26 05:01:54 +08:00
docs: cleanup readme
This commit is contained in:
@@ -64,21 +64,21 @@ tls: false
|
|||||||
cert: cert.pem
|
cert: cert.pem
|
||||||
key: key.pem
|
key: key.pem
|
||||||
|
|
||||||
# Prefix to apply to the WebDAV path-ing. Default is "/".
|
# Prefix to apply to the WebDAV path-ing. Default is '/'.
|
||||||
prefix: /
|
prefix: /
|
||||||
|
|
||||||
# Enable or disable debug logging. Default is false.
|
# Enable or disable debug logging. Default is 'false'.
|
||||||
debug: false
|
debug: false
|
||||||
|
|
||||||
# The directory that will be able to be accessed by the users when connecting.
|
# The directory that will be able to be accessed by the users when connecting.
|
||||||
# This directory will be used by users unless they have their own 'directory' defined.
|
# This directory will be used by users unless they have their own 'directory' defined.
|
||||||
# Default is "." (current directory).
|
# Default is '.' (current directory).
|
||||||
directory: .
|
directory: .
|
||||||
|
|
||||||
# Whether the users can, by default, modify the contents. Default is false.
|
# The default modification permissions for users. Default is 'false'.
|
||||||
modify: true
|
modify: true
|
||||||
|
|
||||||
# Default permissions rules to apply at the paths.
|
# The default permissions rules for users. Default is none.
|
||||||
rules: []
|
rules: []
|
||||||
|
|
||||||
# Logging configuration
|
# Logging configuration
|
||||||
@@ -131,7 +131,7 @@ users:
|
|||||||
modify: true
|
modify: true
|
||||||
# With this rule, the user CAN modify all files ending with .js. It uses
|
# With this rule, the user CAN modify all files ending with .js. It uses
|
||||||
# a regular expression.
|
# a regular expression.
|
||||||
- regex: "^.+\.js$"
|
- regex: "^.+.js$"
|
||||||
modify: true
|
modify: true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user