SQSCANGHA-112 Fix redirect test to deal with TLS

This commit is contained in:
Jeremy Davis
2025-09-10 13:24:57 +02:00
committed by Julien HENRY
parent cbabf0572a
commit ee80e84272
4 changed files with 27 additions and 6 deletions

View File

@@ -5,8 +5,10 @@ services:
- 8080:8080
volumes:
- $GITHUB_WORKSPACE/.github/qa-nginx-redirecting/nginx.conf:/etc/nginx/nginx.conf:ro
- $GITHUB_WORKSPACE/.github/qa-nginx-redirecting/nginx.crt:/etc/nginx/nginx.crt:ro
- $GITHUB_WORKSPACE/.github/qa-nginx-redirecting/nginx.key:/etc/nginx/nginx.key:ro
healthcheck:
test: ["CMD", "curl", "--fail", "localhost:8080/health"]
test: ["CMD", "curl", "--fail", "--insecure", "https://localhost:8080/health"]
interval: 10s
timeout: 5s
retries: 20