sfun commited on
Commit
4131ecf
·
verified ·
1 Parent(s): 09c8db4

Create Caddyfile

Browse files
Files changed (1) hide show
  1. Caddyfile +11 -0
Caddyfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ admin off
3
+ }
4
+
5
+ :3001 {
6
+ handle_path /api/v1/* {
7
+ rewrite * /v1{path}
8
+ reverse_proxy localhost:3000
9
+ }
10
+ reverse_proxy localhost:3000
11
+ }