1
0
mirror of https://github.com/nginx-proxy/nginx-proxy synced 2025-07-11 22:44:22 +02:00
nginx-proxy/test/test_acme-http-challenge-location
Povilas Kanapickas 4c8f22ebcc feat: support ACME challenges for unknown virtual hosts
Currently any ACME challenge for unknown virtual host returns 503. This
is inconvenient because if the user does not use wildcard certificates,
then the user must match the configuration of certificate renewal script
to what virtual hosts are enabled at the time.

This must be done automatically, because due to short certificate
lifetime the renewal script runs automatically. Additionally, enabling a
previously disabled virtual host forces certificate renewal.

Accordingly, it's worthwhile supporting unknown virtual hosts for the
purposes of passing ACME challenges. This is done by introducing a
global ACME_HTTP_CHALLENGE_ACCEPT_UNKNOWN_HOST variable to control this.
2025-05-19 20:10:02 +02:00
..
acme_root/.well-known/acme-challenge tests: standardize file structure & naming 2024-12-24 16:22:20 +01:00
certs tests: standardize file structure & naming 2024-12-24 16:22:20 +01:00
compose.base.override.yml tests: factor out base nginx-proxy config 2024-12-30 12:07:30 +01:00
test_acme-http-challenge-location-accept-unknown-host.py feat: support ACME challenges for unknown virtual hosts 2025-05-19 20:10:02 +02:00
test_acme-http-challenge-location-accept-unknown-host.yml feat: support ACME challenges for unknown virtual hosts 2025-05-19 20:10:02 +02:00
test_acme-http-challenge-location-disabled.py test: add test for unknown domain responses to acme challenge 2025-05-19 20:09:53 +02:00
test_acme-http-challenge-location-disabled.yml tests: factor out base nginx-proxy config 2024-12-30 12:07:30 +01:00
test_acme-http-challenge-location-enabled-is-default.py test: add test for unknown domain responses to acme challenge 2025-05-19 20:09:53 +02:00
test_acme-http-challenge-location-enabled-is-default.yml tests: factor out base nginx-proxy config 2024-12-30 12:07:30 +01:00
test_acme-http-challenge-location-legacy.py test: add test for unknown domain responses to acme challenge 2025-05-19 20:09:53 +02:00
test_acme-http-challenge-location-legacy.yml tests: factor out base nginx-proxy config 2024-12-30 12:07:30 +01:00