twins-upstream/CONFIGURATION.md

23 lines
471 B
Markdown
Raw Normal View History

Paths may be defined as fixed strings or regular expressions (starting with `^`).
Fixed string paths will match with and without a trailing slash.
2020-10-29 21:35:48 +01:00
# config.yaml
```yaml
# Path to certificate and private key
cert: /home/twins/data/certfile.crt
key: /home/twins/data/keyfile.key
# Paths to serve
serve:
-
path: /sites
2020-10-29 21:35:48 +01:00
root: /home/twins/data/sites
-
path: ^/(help|info)$
2020-10-29 21:35:48 +01:00
root: /home/twins/data/help
-
path: /
2020-10-29 21:35:48 +01:00
root: /home/twins/data/home
```