smgc commited on
Commit
76deb15
1 Parent(s): 0ccc0d1

Update Caddyfile

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