Spaces:
Running
Running
Update Caddyfile
Browse files
Caddyfile
CHANGED
@@ -8,13 +8,10 @@
|
|
8 |
}
|
9 |
|
10 |
:3001 {
|
11 |
-
|
12 |
-
uri strip_prefix /api
|
13 |
-
reverse_proxy localhost:3000
|
14 |
-
}
|
15 |
|
16 |
-
|
17 |
-
|
18 |
reverse_proxy localhost:3000
|
19 |
}
|
20 |
}
|
|
|
8 |
}
|
9 |
|
10 |
:3001 {
|
11 |
+
reverse_proxy localhost:3000
|
|
|
|
|
|
|
12 |
|
13 |
+
handle_path /api/v1/* {
|
14 |
+
uri strip_prefix /api
|
15 |
reverse_proxy localhost:3000
|
16 |
}
|
17 |
}
|