[global]
  checkNewVersion = false
  sendAnonymousUsage = false

[log]
  level = "DEBUG"

[entryPoints]
  [entryPoints.strict]
    address = ":8000"
    [entryPoints.strict.http.encodedCharacters]
        allowEncodedSlash = false

  [entryPoints.permissive]
    address = ":8001"
    # No config, default values should apply

  [entryPoints.permissive2]
    address = ":8002"
    # No config for allowEncodedSlash, default value is effectively true
    [entryPoints.permissive.http.encodedCharacters]
        allowEncodedBackSlash = false

[api]
  insecure = true

[providers.file]
  filename = "{{ .SelfFilename }}"

## dynamic configuration ##

[http.routers]
  [http.routers.sameRouter]
    service = "service1"
    rule = "Host(`test.localhost`)"

[http.services]
  [http.services.service1.loadBalancer]
    [[http.services.service1.loadBalancer.servers]]
      url = "{{ .Server1 }}"
