add domain-validator

Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
Simon L 2023-08-10 11:36:39 +02:00
parent c646507c60
commit f00aaf14cd
3 changed files with 30 additions and 6 deletions

View file

@ -14,18 +14,17 @@
servers {
protocols h1 h2 h2c
}
on_demand_tls {
ask http://localhost:9876/
}
}
http://:80 {
redir https://{host}{uri}
}
# Match only host names and not ip-addresses:
https://*.*:8443,
https://*.*.*:8443,
https://*.*.*.*:8443,
https://*.*.*.*.*:8443,
https://*.*.*.*.*.*:8443 {
https::8443 {
reverse_proxy localhost:8000