Select Git revision
httpd.conf 603 B
server "barnslig.xyz" {
alias mail.barnslig.xyz
alias frieder.barnslig.eu
listen on * port 80
location "/.well-known/acme-challenge/*" {
root "/acme"
request strip 2
}
location * {
block return 302 "https://$HTTP_HOST$REQUEST_URI"
}
}
server "barnslig.xyz" {
alias mail.barnslig.xyz
alias frieder.barnslig.eu
listen on * tls port 443
tls {
certificate "/etc/ssl/barnslig.xyz.fullchain.pem"
key "/etc/ssl/private/barnslig.xyz.key"
}
location "/pub/*" {
directory auto index
}
location "/.well-known/acme-challenge/*" {
root "/acme"
request strip 2
}
}