@ossy/deployment-tools 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +13 -11
- package/package.json +1 -1
- package/src/caddy-client.js +14 -12
- package/src/Caddyfile +0 -18
package/dist/index.js
CHANGED
|
@@ -28460,20 +28460,22 @@ class CaddyClient {
|
|
|
28460
28460
|
},
|
|
28461
28461
|
tls: {
|
|
28462
28462
|
automation: {
|
|
28463
|
-
policies:
|
|
28464
|
-
|
|
28465
|
-
|
|
28466
|
-
|
|
28467
|
-
|
|
28468
|
-
|
|
28469
|
-
|
|
28470
|
-
|
|
28463
|
+
policies: [
|
|
28464
|
+
{
|
|
28465
|
+
issuers: [
|
|
28466
|
+
{
|
|
28467
|
+
module: 'acme',
|
|
28468
|
+
challenges: {
|
|
28469
|
+
dns: {
|
|
28470
|
+
provider: {
|
|
28471
|
+
name: 'route53'
|
|
28472
|
+
}
|
|
28471
28473
|
}
|
|
28472
28474
|
}
|
|
28473
28475
|
}
|
|
28474
|
-
|
|
28475
|
-
|
|
28476
|
-
|
|
28476
|
+
]
|
|
28477
|
+
}
|
|
28478
|
+
]
|
|
28477
28479
|
}
|
|
28478
28480
|
}
|
|
28479
28481
|
}
|
package/package.json
CHANGED
package/src/caddy-client.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import fetch from 'node-fetch'
|
|
2
2
|
import * as config from './config.js'
|
|
3
3
|
|
|
4
|
-
const Matchers = {
|
|
4
|
+
export const Matchers = {
|
|
5
5
|
host: host => ({ host: [host] }),
|
|
6
6
|
path: path => ({ path: [path] })
|
|
7
7
|
}
|
|
@@ -58,20 +58,22 @@ class CaddyClient {
|
|
|
58
58
|
},
|
|
59
59
|
tls: {
|
|
60
60
|
automation: {
|
|
61
|
-
policies:
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
61
|
+
policies: [
|
|
62
|
+
{
|
|
63
|
+
issuers: [
|
|
64
|
+
{
|
|
65
|
+
module: 'acme',
|
|
66
|
+
challenges: {
|
|
67
|
+
dns: {
|
|
68
|
+
provider: {
|
|
69
|
+
name: 'route53'
|
|
70
|
+
}
|
|
69
71
|
}
|
|
70
72
|
}
|
|
71
73
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
]
|
|
75
77
|
}
|
|
76
78
|
}
|
|
77
79
|
}
|