21 lines
391 B
Plaintext
21 lines
391 B
Plaintext
tls {
|
|
on_demand {
|
|
validate_command sh -c "[ $TLSTUNNEL_NAME = pages.sr.ht ] || curl -f http://localhost:5112/domain?domain=$TLSTUNNEL_NAME"
|
|
}
|
|
}
|
|
|
|
frontend pages.sr.ht:443 {
|
|
backend localhost:5112
|
|
}
|
|
|
|
frontend *.srht.site:443 {
|
|
backend localhost:5012
|
|
tls {
|
|
load /etc/ssl/uacme/srht.site/cert.pem /etc/ssl/uacme/private/srht.site/key.pem
|
|
}
|
|
}
|
|
|
|
frontend :443 {
|
|
backend localhost:5012
|
|
}
|