$ curl -v -H Host:whoami.docker.localhost http://127.0.0.1
* Trying 127.0.0.1:80...
* Connected to 127.0.0.1 (127.0.0.1) port 80 (#0)
> GET / HTTP/1.1
> Host:whoami.docker.localhost
> User-Agent: curl/8.0.1
> Accept: */*
>
< HTTP/1.1 503 Service Unavailable
< Content-Length: 0
< Date: Sat, 13 May 2023 10:43:50 GMT
<
* Connection #0 to host 127.0.0.1 left intact
I've tried to replace the service with python -m http.server using static config and it works. So I wonder if the 503 error is related to the whoami image.
I'm following Traefik quick start and arrived at the following docker compose file:
However it always give me http 503 error.
I've tried to replace the service with
python -m http.server
using static config and it works. So I wonder if the 503 error is related to the whoami image.