mirror of
https://github.com/containous/traefik.git
synced 2024-12-22 13:34:03 +03:00
26 lines
379 B
YAML
26 lines
379 B
YAML
apiVersion: traefik.io/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: test.route
|
|
namespace: default
|
|
labels:
|
|
app: traefik
|
|
|
|
spec:
|
|
entryPoints:
|
|
- web
|
|
|
|
routes:
|
|
- match: Host(`foo.com`) && PathPrefix(`/bar`)
|
|
kind: Rule
|
|
priority: 12
|
|
services:
|
|
- name: whoami
|
|
port: 80
|
|
|
|
tls:
|
|
options:
|
|
name: mytlsoption
|
|
store:
|
|
name: mytlsstore
|