24 lines
508 B
ApacheConf
24 lines
508 B
ApacheConf
server "<INSERT_DOMAIN_HERE>" {
|
|
listen on egress tls port 443
|
|
|
|
connection max request body 1000000000
|
|
|
|
fastcgi socket "/run/dexter.sock"
|
|
|
|
location "*/.htpasswd" {
|
|
block return 403
|
|
}
|
|
|
|
location "*/" {
|
|
authenticate <INSERT_DOMAIN_HERE> with "/htdocs/<INSERT_DOMAIN_HERE>/.htpasswd"
|
|
fastcgi socket "/run/dexter.sock"
|
|
}
|
|
|
|
tls {
|
|
certificate "/etc/letsencrypt/live/<INSERT_DOMAIN_HERE>/fullchain.pem"
|
|
key "/etc/letsencrypt/live/<INSERT_DOMAIN_HERE>/privkey.pem"
|
|
}
|
|
|
|
gzip-static
|
|
}
|