-
Notifications
You must be signed in to change notification settings - Fork 0
/
routes.yaml
55 lines (52 loc) · 1.27 KB
/
routes.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
- name: "test-route"
cache-enabled: true
cache-timeout: "5m"
cache-max-body-size-in-mb: 100
upstream-url: "https://docker.com"
upstream-timeout: "20s"
upstream-skip-tls: false
priority: 3
port: 80
hostname: "localhost"
middlewares:
https-redirect-enabled: true
https-redirect-port: 443
- name: "test-route-https"
cache-enabled: true
cache-timeout: "5m"
cache-max-body-size-in-mb: 100
upstream-url: "https://docker.com"
upstream-timeout: "20s"
upstream-skip-tls: false
priority: 3
port: 443
hostname: "localhost"
middlewares:
forward-host-header: true
https-redirect-enabled: true
https-redirect-port: 443
- name: "test-route-http-backend"
cache-enabled: true
cache-timeout: "5m"
cache-max-body-size-in-mb: 100
upstream-url: "http://backend:80"
upstream-timeout: "20s"
upstream-skip-tls: false
priority: 3
port: 80
hostname: "backend.localhost"
middlewares:
https-redirect-enabled: true
https-redirect-port: 443
- name: "test-route-https-backend"
cache-enabled: true
cache-timeout: "5m"
cache-max-body-size-in-mb: 100
upstream-url: "http://backend:80"
upstream-timeout: "20s"
upstream-skip-tls: false
priority: 3
port: 443
hostname: "backend.localhost"
middlewares:
forward-host-header: true