mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-26 17:56:48 +00:00
harden proxy health check to be https based
This commit is contained in:
parent
adbd66eb38
commit
eee17fe9f2
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ services:
|
||||||
- "${DOCKER_PROXY_PORT_EXTERNAL_HTTP}:80"
|
- "${DOCKER_PROXY_PORT_EXTERNAL_HTTP}:80"
|
||||||
- "${DOCKER_PROXY_PORT_EXTERNAL_HTTPS}:443"
|
- "${DOCKER_PROXY_PORT_EXTERNAL_HTTPS}:443"
|
||||||
healthcheck:
|
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
|
interval: 10s
|
||||||
retries: 2
|
retries: 2
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
|
|
Loading…
Reference in a new issue