Update Caddyfile
Browse files
Caddyfile
CHANGED
@@ -8,10 +8,12 @@
|
|
8 |
}
|
9 |
|
10 |
:3001 {
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
|
|
|
|
|
|
15 |
}
|
16 |
-
respond "404 Not Found" 404
|
17 |
}
|
|
|
8 |
}
|
9 |
|
10 |
:3001 {
|
11 |
+
@api path /api/*
|
12 |
+
handle @api {
|
13 |
+
reverse_proxy localhost:3000
|
14 |
+
}
|
15 |
+
|
16 |
+
handle {
|
17 |
+
respond "404 Not Found" 404
|
18 |
}
|
|
|
19 |
}
|