1
0
Fork 0

use caddy auth for torr subdomain

This commit is contained in:
Pratham Patel 2022-07-26 14:29:39 +05:30
parent 511a73b7d4
commit dc5d71d3c4
1 changed files with 8 additions and 0 deletions

View File

@ -70,10 +70,18 @@ cockpit.thefossguy.com {
torr.thefossguy.com {
tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem
basicauth {
pratham
}
reverse_proxy 10.0.0.14:9091
}
torrs.thefossguy.com {
tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem
basicauth {
pratham
}
redir https://torr.thefossguy.com{uri}
}