use caddy auth for torr subdomain
This commit is contained in:
parent
511a73b7d4
commit
dc5d71d3c4
|
@ -70,10 +70,18 @@ cockpit.thefossguy.com {
|
||||||
|
|
||||||
torr.thefossguy.com {
|
torr.thefossguy.com {
|
||||||
tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem
|
tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem
|
||||||
|
|
||||||
|
basicauth {
|
||||||
|
pratham
|
||||||
|
}
|
||||||
reverse_proxy 10.0.0.14:9091
|
reverse_proxy 10.0.0.14:9091
|
||||||
}
|
}
|
||||||
|
|
||||||
torrs.thefossguy.com {
|
torrs.thefossguy.com {
|
||||||
tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem
|
tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem
|
||||||
|
|
||||||
|
basicauth {
|
||||||
|
pratham
|
||||||
|
}
|
||||||
redir https://torr.thefossguy.com{uri}
|
redir https://torr.thefossguy.com{uri}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue