HelloI have a server 6.8 that works correctly with the main domain, but it does not work with the second. Could you please help?
httpd.conf # $OpenBSD: httpd.conf,v 1.20 2018/06/13 15:08:24 reyk Exp $ server "consultores.ca" { listen on * port 80 root "/htdocs/consultores/" location "/.well-known/acme-challenge/*" { root "/acme" request strip 2 } location * { block return 302 "https://$HTTP_HOST$REQUEST_URI" } } server "consultores.ca" { listen on * tls port 443 root "/htdocs/consultores" tls { certificate "/etc/letsencrypt/live/consultores.ca/fullchain.pem" key "/etc/letsencrypt/live/consultores.ca/privkey.pem" } location "/pub/*" { directory auto index } location "/.well-known/acme-challenge/*" { root "/acme" request strip 2 } } server "consultores.ca/ENA" { listen on * port 80 root "/htdocs/ENA/" location "/.well-known/acme-challenge/*" { root "/acme" request strip 2 } location * { block return 302 "https://$HTTP_HOST$REQUEST_URI" } } server "consultores.ca/ENA" { listen on * tls port 443 root "/htdocs/ENA" tls { certificate "/etc/letsencrypt/live/consultores.ca/fullchain.pem" key "/etc/letsencrypt/live/consultores.ca/privkey.pem" } location "/pub/*" { directory auto index } location "/.well-known/acme-challenge/*" { root "/acme" request strip 2 } }
OpenPGP_signature
Description: OpenPGP digital signature