Update scope of services and middlewares

This commit is contained in:
Olivier Beaudoin 2019-10-07 06:50:04 -04:00 committed by Traefiker Bot
parent dd53be7a1b
commit ed4b2f74ff

View file

@ -183,14 +183,14 @@ and therefore this specification would be ignored even if present.
routes: routes:
- match: Host(`bar.com`) - match: Host(`bar.com`)
kind: Rule kind: Rule
services: services:
- name: whoami - name: whoami
port: 80 port: 80
middlewares: middlewares:
- name: add-foo-prefix@file - name: add-foo-prefix@file
# namespace: bar # namespace: bar
# A namespace specification such as above is ignored # A namespace specification such as above is ignored
# when the cross-provider syntax is used. # when the cross-provider syntax is used.
``` ```
## Available Middlewares ## Available Middlewares