I have a website with **docker** and I use caddy for production. This is my configuration on my `Caddyfile`

```
mydomain.com {
    proxy / django:5000 {
        header_upstream Host {host}
        header_upstream X-Real-IP {remote}
        header_upstream X-Forwarded-Proto {scheme}
        header_upstream X-CSRFToken {~csrftoken}
    }
    log stdout
    errors stdout
    gzip
}

```

**This configuration works well when I use mydomain.com**, but when I try to access the server by IP it returns me the following error:

```
404 Site 156.130.11.8 is not served on this interface

```

I've tried using `*`, `156.130.11.8`, and `:80`

```
* {
    proxy / django:5000...
    ...

156.130.11.8 {
    proxy / django:5000...
    ...

```

None of this is working either, does anyone of you know how can I solve this?

EDIT:
The code is here: <https://github.com/maguayo/django-starter-api>
Caddy configuration is under **compose/production/caddy/** also the configuration I am running is on "**production.yml**"