# NEWBIE question: how to setup secure endpoint correctly?

**URL:** <https://community.traefik.io/t/newbie-question-how-to-setup-secure-endpoint-correctly/24847>\
**Category:** Traefik v3 (latest)\
**Tags:** docker\
**Created:** [October 21, 2024, 9:44am UTC](https://community.traefik.io/t/newbie-question-how-to-setup-secure-endpoint-correctly/24847 "2024-10-21T09:44:06Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![PavelKo](https://avatars.discourse-cdn.com/v4/letter/p/b9e5f3/32.png) [@PavelKo](https://community.traefik.io/u/PavelKo)\
**Post date:** [October 22, 2024, 7:40pm UTC](https://community.traefik.io/t/newbie-question-how-to-setup-secure-endpoint-correctly/24847/9 "2024-10-22T19:40:30Z")

</div>

Hi,

I have tried the solution given in **[This thread](https://community.traefik.io/t/traefik-with-docker-shows-404-for-https/23101)**

But looking the access logs I have found that all requests were forwarded to HTTP endpoint.

```auto
172.71.102.165 - - [22/Oct/2024:19:03:31 +0000] "GET / HTTP/1.1" 200 789 "-" "-" 7 "whoami@docker" "http://172.20.0.5:80" 0ms

```

When the dashboard has 2 entrypoins:

- https-whoami@docker
- whoami@docker

 ![_](https://us1.discourse-cdn.com/flex020/uploads/containo/original/2X/c/cc8ea5d8c18f0f02c8b65277f40cf0d76cd29e00.png)

I also have modified whoami container configuration so:

```auto
  whoami:
    container_name: whoami
    image: traefik/whoami
    depends_on:
      - traefik
    networks:
      - traefik
    labels:
      - traefik.enable=true
      - traefik.http.routers.whoami.rule=Host(`whoami.${DOMAIN}`)
      - traefik.http.routers.whoami.tls=true

```

So in dashboard the config looks like:

 ![_](https://us1.discourse-cdn.com/flex020/uploads/containo/original/2X/4/4f2f066a90d570a948beafbdd17cefee4ec98338.png)

But still getting 404.

---

_[View the full topic](https://community.traefik.io/t/newbie-question-how-to-setup-secure-endpoint-correctly/24847)._
