1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-26 09:46:49 +00:00

harden proxy health check to be https based

This commit is contained in:
Christian Winther 2024-01-17 15:53:17 +00:00
parent adbd66eb38
commit eee17fe9f2

View file

@ -34,7 +34,7 @@ services:
- "${DOCKER_PROXY_PORT_EXTERNAL_HTTP}:80"
- "${DOCKER_PROXY_PORT_EXTERNAL_HTTPS}:443"
healthcheck:
test: 'curl --header "Host: $[APP_DOMAIN}" --fail http://localhost/api/service/health-check'
test: 'curl --header "Host: $[APP_DOMAIN}" --fail https://localhost/api/service/health-check'
interval: 10s
retries: 2
timeout: 5s