smgc commited on
Commit
3ef06e4
1 Parent(s): 795a300

Update Caddyfile

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