Update Caddyfile
Browse files
Caddyfile
CHANGED
@@ -3,23 +3,16 @@
|
|
3 |
log {
|
4 |
output file /app/caddy.log
|
5 |
format console
|
6 |
-
level
|
7 |
}
|
8 |
}
|
9 |
|
10 |
::3001 {
|
11 |
reverse_proxy localhost:3000
|
12 |
|
13 |
-
route /api
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
}
|
18 |
-
|
19 |
-
{
|
20 |
-
pki {
|
21 |
-
ca local {
|
22 |
-
root_dir /app/pki
|
23 |
}
|
24 |
-
}
|
25 |
}
|
|
|
3 |
log {
|
4 |
output file /app/caddy.log
|
5 |
format console
|
6 |
+
level info
|
7 |
}
|
8 |
}
|
9 |
|
10 |
::3001 {
|
11 |
reverse_proxy localhost:3000
|
12 |
|
13 |
+
route /api/* {
|
14 |
+
handle_path /api/* {
|
15 |
+
reverse_proxy localhost:3000
|
16 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
}
|
|
|
18 |
}
|