routers:

  app:
    entryPoint: https
    service: app
    routes:
      - Host(`app.z.com`)
    tls:
      certProvider: default
    auth:
      enabled: true
      provider: keycloak

  # app-user:
  #   # priority: 1000
  #   entryPoint: https
  #   service: app
  #   routes:
  #     - Host(`app.z.com`).Path(`/test1`)
  #   # stripPrefix: true
  #   tls:
  #     certProvider: default
  #   auth:
  #     # jwt:
  #     #   allow:
  #     #     email:
  #     #       - zeevdukeman@gmail.com

  #     enabled: true
  #     provider: keycloak

services:
  app: http://127.0.0.1:3001


entrypoints:
  https:
    address: :443
    tls:
      enabled: true
  http:
    address: :80

tls:
  certProviders:
    default:
      key: z/assets/certs/z.com.key.pem
      cert: z/assets/certs/z.com.cert.pem
