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

View file

@ -55,3 +55,11 @@ stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=/session-deduplicator.sh
user=root
[program:domain-validator]
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
command=php -S 127.0.0.1:9876 /var/www/docker-aio/php/domain-validator.php
user=www-data