# $OpenBSD: httpd.conf,v 1.22 2020/11/04 10:34:18 denis Exp $ #server "chewbakka.host.oddprotocol.org" { # listen on * port 443 # location "/.well-known/acme-challenge/*" { # root "/acme" # request strip 2 # } # location * { # block return 302 "https://$HTTP_HOST$REQUEST_URI" # } #} server "bnc.chewbakka.host.oddprotocol.org" { listen on * port 31337 location "/.well-known/acme-challenge/*" { root "/acme" request strip 2 } location * { block return 302 "https://$HTTP_HOST$REQUEST_URI" } } server "chewbakka.host.oddprotocol.org" { listen on * port 80 # tls { # certificate "/etc/ssl/chewbakka.host.oddprotocol.org.crt" # key "/etc/ssl/private/chewbakka.host.oddprotocol.org.key" # } location "/pub/*" { directory auto index } location "/.well-known/acme-challenge/*" { root "/acme" request strip 2 } } # tls { # certificate "/etc/ssl/chewbakka.host.oddprotocol.org.crt" # key "/etc/ssl/private/chewbakka.host.oddprotocol.org.key" # } # location "/pub/*" { # directory auto index # } # location "/.well-known/acme-challenge/*" { # root "/acme" # request strip 2 # } # #} # location "/.well-known/acme-challenge/*" { # root "/acme" # request strip 2 # } # location * { # block return 302 "https://$HTTP_HOST$REQUEST_URI" # } #} #server "bnc.chewbakka.host.oddprotocol.org" { # listen on * port 31337 # tls { # certificate "/etc/ssl/bnc.chewbakka.host.oddprotocol.org.crt" # key "/etc/ssl/private/bnc.chewbakka.host.oddprotocol.org.key" # } # location "/pub/*" { # directory auto index # } # location "/.well-known/acme-challenge/*" { # root "/acme" # request strip 2 # } #} server "mail.chewbakka.host.oddprotocol.org" { listen on * port 80 # tls { # certificate "/etc/ssl/mail.chewbakka.host.oddprotocol.org.crt" # key "/etc/ssl/private/mail.chewbakka.host.oddprotocol.org.key" # } location "/pub/*" { directory auto index } location "/.well-known/acme-challenge/*" { root "/acme" request strip 2 } }