feat: add http challenge routing

This commit is contained in:
Alfredo Di Stasio
2026-06-30 10:09:35 +02:00
parent b5beb27623
commit f3759e76ea
11 changed files with 78 additions and 9 deletions
+10 -1
View File
@@ -12,7 +12,15 @@ docker compose config
## Smoke test
After replacing the example backend addresses and starting the stack, verify TCP connectivity from a client:
After replacing the example backend addresses and starting the stack, verify HTTP-01 routing:
```bash
curl -H 'Host: lab.younerd.org' http://LOAD_BALANCER_HOST/.well-known/acme-challenge/test-token
curl -H 'Host: azionelab.org' http://LOAD_BALANCER_HOST/.well-known/acme-challenge/test-token
curl -H 'Host: www.azionelab.org' http://LOAD_BALANCER_HOST/.well-known/acme-challenge/test-token
```
Then verify TCP TLS connectivity:
```bash
openssl s_client -connect LOAD_BALANCER_HOST:443 -servername EXPECTED_DNS_NAME
@@ -32,4 +40,5 @@ openssl s_client -connect LOAD_BALANCER_HOST:443 -servername www.azionelab.org
- Docker/Compose validation: `docker compose config`.
- Runtime health: `docker compose ps`.
- HTTP-01 route smoke test: `curl`.
- TLS passthrough smoke test: `openssl s_client`.