smgc commited on
Commit
e2c0c3e
1 Parent(s): 6b05778

Update Caddyfile

Browse files
Files changed (1) hide show
  1. Caddyfile +2 -8
Caddyfile CHANGED
@@ -8,18 +8,12 @@
8
  }
9
 
10
  :3001 {
11
- @api {
12
- path /api/*
13
- }
14
- handle @api {
15
  uri strip_prefix /api
16
  reverse_proxy localhost:3000
17
  }
18
 
19
- @api_root {
20
- path /api
21
- }
22
- handle @api_root {
23
  rewrite * /api/
24
  reverse_proxy localhost:3000
25
  }
 
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
  }