smgc commited on
Commit
19588a3
1 Parent(s): 67850dc

Update Caddyfile

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