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