smgc commited on
Commit
e63449c
1 Parent(s): ef227c1

Update Caddyfile

Browse files
Files changed (1) hide show
  1. Caddyfile +3 -3
Caddyfile CHANGED
@@ -3,15 +3,15 @@
3
  log {
4
  output file /data/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 * /v1/{path}
15
  reverse_proxy localhost:3000
16
  }
17
  }
 
3
  log {
4
  output file /data/caddy.log
5
  format console
6
+ level info
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
  }