Update Caddyfile
Browse files
Caddyfile
CHANGED
@@ -7,7 +7,15 @@
|
|
7 |
}
|
8 |
}
|
9 |
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
reverse_proxy localhost:3000
|
12 |
|
13 |
route /api/* {
|
@@ -15,12 +23,4 @@
|
|
15 |
reverse_proxy localhost:3000
|
16 |
}
|
17 |
}
|
18 |
-
}
|
19 |
-
|
20 |
-
{
|
21 |
-
pki {
|
22 |
-
ca local {
|
23 |
-
root_dir /tmp/caddy/pki
|
24 |
-
}
|
25 |
-
}
|
26 |
}
|
|
|
7 |
}
|
8 |
}
|
9 |
|
10 |
+
{
|
11 |
+
pki {
|
12 |
+
ca local {
|
13 |
+
root_dir /tmp/caddy/pki
|
14 |
+
}
|
15 |
+
}
|
16 |
+
}
|
17 |
+
|
18 |
+
:3001 {
|
19 |
reverse_proxy localhost:3000
|
20 |
|
21 |
route /api/* {
|
|
|
23 |
reverse_proxy localhost:3000
|
24 |
}
|
25 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
}
|