mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
51 lines
1.5 KiB
JSON
51 lines
1.5 KiB
JSON
{
|
||
"id": "letsencrypt",
|
||
"name": "Let's Encrypt",
|
||
"description": "Automatic creation, renewal and configuration of Let's Encrypt certificates.",
|
||
"version": "1.0",
|
||
"stream": "yes",
|
||
"settings": {
|
||
"AUTO_LETS_ENCRYPT": {
|
||
"context": "multisite",
|
||
"default": "no",
|
||
"help": "Activate automatic Let's Encrypt mode.",
|
||
"id": "auto-lets-encrypt",
|
||
"label": "Automatic Let's Encrypt",
|
||
"regex": "^(yes|no)$",
|
||
"type": "check"
|
||
},
|
||
"EMAIL_LETS_ENCRYPT": {
|
||
"context": "multisite",
|
||
"default": "",
|
||
"help": "Email used for Let's Encrypt notification and in certificate.",
|
||
"id": "email-lets-encrypt",
|
||
"label": "Email Let's Encrypt",
|
||
"regex": "^([^@ \\t\\r\\n]+@[^@ \\t\\r\\n]+\\.[^@ \\t\\r\\n]+)?$",
|
||
"type": "text"
|
||
},
|
||
"USE_LETS_ENCRYPT_STAGING": {
|
||
"context": "multisite",
|
||
"default": "no",
|
||
"help": "Use the staging environment for Let’s Encrypt certificate generation. Useful when you are testing your deployments to avoid being rate limited in the production environment.",
|
||
"id": "use-lets-encrypt-staging",
|
||
"label": "Use Let's Encrypt Staging",
|
||
"regex": "^(yes|no)$",
|
||
"type": "check"
|
||
}
|
||
},
|
||
"jobs": [
|
||
{
|
||
"name": "certbot-new",
|
||
"file": "certbot-new.py",
|
||
"every": "once",
|
||
"reload": false
|
||
},
|
||
{
|
||
"name": "certbot-renew",
|
||
"file": "certbot-renew.py",
|
||
"every": "day",
|
||
"reload": true
|
||
}
|
||
]
|
||
}
|