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