smgc commited on
Commit
2fd8d79
1 Parent(s): f51446e

Update Caddyfile

Browse files
Files changed (1) hide show
  1. Caddyfile +5 -12
Caddyfile CHANGED
@@ -3,23 +3,16 @@
3
  log {
4
  output file /app/caddy.log
5
  format console
6
- level debug
7
  }
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
- }
18
-
19
- {
20
- pki {
21
- ca local {
22
- root_dir /app/pki
23
  }
24
- }
25
  }
 
3
  log {
4
  output file /app/caddy.log
5
  format console
6
+ level info
7
  }
8
  }
9
 
10
  ::3001 {
11
  reverse_proxy localhost:3000
12
 
13
+ route /api/* {
14
+ handle_path /api/* {
15
+ reverse_proxy localhost:3000
16
+ }
 
 
 
 
 
 
17
  }
 
18
  }