smgc commited on
Commit
e4107d2
1 Parent(s): e2c0c3e

Update Caddyfile

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