mirror of
https://code.rocketnine.space/tslocum/twins.git
synced 2024-05-20 09:15:42 +02:00
471 B
471 B
Paths may be defined as fixed strings or regular expressions (starting with ^
).
Fixed string paths will match with and without a trailing slash.
config.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
root: /home/twins/data/sites
-
path: ^/(help|info)$
root: /home/twins/data/help
-
path: /
root: /home/twins/data/home