Update Caddyfile
Browse files
Caddyfile
CHANGED
|
@@ -8,12 +8,10 @@
|
|
| 8 |
}
|
| 9 |
|
| 10 |
:3001 {
|
| 11 |
-
|
| 12 |
-
reverse_proxy localhost:3000
|
| 13 |
-
}
|
| 14 |
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
}
|
|
|
|
| 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 |
}
|