smgc commited on
Commit
ef227c1
1 Parent(s): d8f4661

Update Caddyfile

Browse files
Files changed (1) hide show
  1. Caddyfile +5 -7
Caddyfile CHANGED
@@ -8,12 +8,10 @@
8
  }
9
 
10
  :3001 {
11
- handle_path / {
12
- reverse_proxy localhost:3000
13
- }
14
 
15
- handle_path /api/v1/* {
16
- uri strip_prefix /api
17
- reverse_proxy localhost:3000
18
- }
19
  }
 
8
  }
9
 
10
  :3001 {
11
+ reverse_proxy localhost:3000
 
 
12
 
13
+ route /api/v1/* {
14
+ rewrite * /v1/{path}
15
+ reverse_proxy localhost:3000
16
+ }
17
  }