initial virtual hosts support

This commit is contained in:
2025-08-09 19:43:21 +02:00
parent 0a1e36ccc8
commit 7dd0be9afc
6 changed files with 67 additions and 27 deletions

View File

@@ -1,6 +1,13 @@
# Default config file of CWS
hostname: localhost
port: 3030
www: "www" # Directory used to retrieve html files
cert: "cert.pem"
key: "key.pem"
virtual_hosts:
- domain: localhost
root: www
ssl: false
- domain: test.local
root: www
ssl: true
cert: cert.pem
key: key.pem