Advertisement
kita_no_tori

traefik-middleware.yml

Aug 10th, 2019
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.39 KB | None | 0 0
  1. kind: Middleware
  2. apiVersion: traefik.containo.us/v1alpha1
  3. metadata:
  4.   name: traefik-dashboard-auth
  5.   namespace: default
  6. spec:
  7.   basicAuth:
  8.     users:
  9.    # admin:password <do not use in production>
  10.     - admin:$apr1$FGdrANYF$f0lAEDTXdWmxNfABopXX01
  11. ---
  12. kind: Middleware
  13. apiVersion: traefik.containo.us/v1alpha1
  14. metadata:
  15.   name: https-redirect
  16. spec:
  17.   redirectScheme:
  18.     scheme: https
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement