-
Notifications
You must be signed in to change notification settings - Fork 2
/
Caddyfile
73 lines (57 loc) · 1.1 KB
/
Caddyfile
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
order rate_limit first
}
http://localhost, http://caddy
handle_path /* {
handle /kronos/* {
reverse_proxy kronos-web-ui:3000
}
handle /* {
reverse_proxy pix-web-ui:3030
}
handle /api/v1/* {
rate_limit {cookie.uid} 100r/s
uri strip_prefix /api/v1
handle /users/* {
reverse_proxy api-server:8000
}
handle /auth/* {
reverse_proxy api-server:8000
}
handle /projects* {
reverse_proxy api-server:8000
}
handle /processing-requests* {
reverse_proxy api-server:8000
}
handle /assets* {
reverse_proxy api-server:8000
}
handle /files* {
reverse_proxy api-server:8000
}
handle /blobs* {
reverse_proxy api-server:8000
}
handle /kronos* {
uri strip_prefix /kronos
reverse_proxy kronos-http:8000
}
}
}
handle /admin/grafana/* {
reverse_proxy grafana:3000
}
handle /admin/zipkin/* {
uri strip_prefix /admin
reverse_proxy zipkin:9411
header X-Forwarded-Host {host}
header X-Forwarded-For {remote}
header X-Real-IP {remote}
}
handle /admin/kafka-ui/* {
reverse_proxy kafka-ui:8080
}
handle /admin/prometheus/* {
reverse_proxy prometheus:9090
}