-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Closed
Copy link
Labels
bug 🐞Something isn't workingSomething isn't working
Milestone
Description
I have the following Caddyfile:
{
admin unix//var/run/caddy/caddy-admin.sock
auto_https disable_certs
servers {
metrics
}
}
:2019 {
metrics
}
subdomain.example1.com *.example2.com :443 {
root * /opt/app/public
php_fastcgi unix//var/run/php-fpm/default.sock
file_server
tls /etc/pki/tls/certs/example1.crt /etc/pki/tls/private/example1.key {
ciphers TLS_AES_256_GCM_SHA384 TLS_AES_128_GCM_SHA256 TLS_CHACHA20_POLY1305_SHA256 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
}
tls /etc/pki/tls/certs/example2.crt /etc/pki/tls/private/example2.key {
ciphers TLS_AES_256_GCM_SHA384 TLS_AES_128_GCM_SHA256 TLS_CHACHA20_POLY1305_SHA256 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
}
encode zstd gzip
}
The two tls
blocks provide an SSL certificate for subdomain.example1.com
and *.example2.com
.
Despite SSL certificates already being provided and auto_https
being set to disable_certs
, Caddy still attempts to provide replacement SSL certificates via ACME. Setting auto_https
to off
resolves this but disables other functionality we require.
Is this a bug or is something wrong in our config?
Metadata
Metadata
Assignees
Labels
bug 🐞Something isn't workingSomething isn't working