File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 1
1
{$HOSTNAME} {
2
2
route /api* {
3
3
uri strip_prefix /api
4
- reverse_proxy http://api:14702
4
+ reverse_proxy http://api:14702 {
5
+ header_down Location "^/" "/api/"
6
+ }
5
7
}
6
8
7
9
route /ws {
8
10
uri strip_prefix /ws
9
- reverse_proxy http://events:14703
11
+ reverse_proxy http://events:14703 {
12
+ header_down Location "^/" "/ws/"
13
+ }
10
14
}
11
15
12
16
route /autumn* {
13
17
uri strip_prefix /autumn
14
- reverse_proxy http://autumn:14704
18
+ reverse_proxy http://autumn:14704 {
19
+ header_down Location "^/" "/autumn/"
20
+ }
15
21
}
16
22
17
23
route /january* {
18
24
uri strip_prefix /january
19
- reverse_proxy http://january:14705
25
+ reverse_proxy http://january:14705 {
26
+ header_down Location "^/" "/january/"
27
+ }
20
28
}
21
29
22
30
reverse_proxy http://web:5000
You can’t perform that action at this time.
0 commit comments