refactor(config): initial support for custom error pages

This commit is contained in:
2025-12-01 04:33:03 +01:00
parent fc0dce9574
commit d77c767240
3 changed files with 37 additions and 12 deletions

View File

@@ -5,9 +5,17 @@ virtual_hosts:
- domain: localhost
root: www
ssl: false
error_pages:
- method: 404
path: pages/404.html
- method: 500
path: pages/500.html
- domain: test.local
root: www
ssl: true
cert: cert.pem
key: key.pem
error_pages:
- method: 404
path: pages/404.html