Spaces:
Sleeping
Sleeping
Update Caddyfile
Browse files
Caddyfile
CHANGED
@@ -8,12 +8,9 @@
|
|
8 |
}
|
9 |
|
10 |
:3001 {
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
handle {
|
17 |
-
reverse_proxy localhost:3000
|
18 |
-
}
|
19 |
}
|
|
|
8 |
}
|
9 |
|
10 |
:3001 {
|
11 |
+
handle_path /api/v1/* {
|
12 |
+
rewrite * /v1{path}
|
13 |
+
reverse_proxy http://localhost:3000
|
14 |
+
}
|
15 |
+
reverse_proxy http://localhost:3000
|
|
|
|
|
|
|
16 |
}
|