# Confusion over basic configuration

**URL:** <https://community.traefik.io/t/confusion-over-basic-configuration/16497>\
**Category:** Traefik v2\
**Tags:** cli\
**Created:** [November 17, 2022, 10:53am UTC](https://community.traefik.io/t/confusion-over-basic-configuration/16497 "2022-11-17T10:53:27Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ldez](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/ldez/32/5_2.png) [@ldez](https://community.traefik.io/u/ldez)\
**Post date:** [November 17, 2022, 12:55pm UTC](https://community.traefik.io/t/confusion-over-basic-configuration/16497/4 "2022-11-17T12:55:10Z")

</div>

Hello,

the root TLS section doesn't have a passthrough option.

> **[Traefik File Dynamic Configuration - Traefik](https://doc.traefik.io/traefik/reference/dynamic-configuration/file/)**
>
> This guide will provide you with the YAML and TOML files for dynamic configuration in Traefik Proxy. Read the technical documentation.

Also the passthrough is only for TCP routers.

> **[Traefik Routers Documentation - Traefik](https://doc.traefik.io/traefik/routing/routers/#passthrough)**
>
> In Traefik Proxy, a router is in charge of connecting incoming requests to the Services that can handle them. Read the technical documentation.

So [dynamic configuration](https://docs.traefik.io/getting-started/configuration-overview/#the-dynamic-configuration) (config.yaml) should look like that:

```auto
tls:
  stores:
    default:
      defaultCertificate:
        certFile: "/home/matthew/github.com/ampretia/tls-expr/proxy.crt"
        keyFile: "/home/matthew/github.com/ampretia/tls-expr/proxy.key"

http:
  routers:
    Router-1:
      rule: "Host('srv1.localho.st')"
      service: my-service
      tls: {}

  services:
    my-service:
      loadBalancer:
        serversTransport: transport_host
        servers:
          - url: "https://localho.st:9443"

  serversTransports:
    transport_host:
      insecureSkipVerify: true

```

And your [static configuration](https://docs.traefik.io/getting-started/configuration-overview/#the-static-configuration) (traefik.yaml):

```auto
log:
  level: DEBUG

providers:
  file:
    filename: "/home/matthew/github.com/ampretia/tls-expr/traefik/config.yaml"
    watch: true

entryPoints:
  websecure:
    address: ":8443" 

```

---

_[View the full topic](https://community.traefik.io/t/confusion-over-basic-configuration/16497)._
