mirror of
https://github.com/moepman/acertmgr.git
synced 2025-01-01 07:51:51 +01:00
docs: cleanup whitespace and remove "---" from json examples
This commit is contained in:
parent
5b3993e9ef
commit
92337436bc
@ -56,12 +56,14 @@ All configuration files can use yaml (requires PyYAML) or json syntax.
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
---
|
---
|
||||||
|
|
||||||
# Optional: Authority API endpoint to use
|
# Optional: Authority API endpoint to use
|
||||||
# Legacy ACME v1 API with options:
|
# Legacy ACME v1 API with options:
|
||||||
#api: v1
|
#api: v1
|
||||||
#authority: "https://acme-v01.api.letsencrypt.org"
|
#authority: "https://acme-v01.api.letsencrypt.org"
|
||||||
#authority: "https://acme-staging.api.letsencrypt.org"
|
#authority: "https://acme-staging.api.letsencrypt.org"
|
||||||
#authority_tos_agreement: "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf"
|
#authority_tos_agreement: "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf"
|
||||||
|
|
||||||
# Current (default) ACME v2 API with options:
|
# Current (default) ACME v2 API with options:
|
||||||
#api: v2
|
#api: v2
|
||||||
#authority: "https://acme-v02.api.letsencrypt.org"
|
#authority: "https://acme-v02.api.letsencrypt.org"
|
||||||
@ -153,13 +155,11 @@ mail.example.com smtp.example.com webmail.example.net *.intra.example.com:
|
|||||||
perm: '400'
|
perm: '400'
|
||||||
format: crt,ca
|
format: crt,ca
|
||||||
action: '/etc/init.d/postfix reload'
|
action: '/etc/init.d/postfix reload'
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
* Example optional global configuration file (JSON syntax):
|
* Example optional global configuration file (JSON syntax):
|
||||||
|
|
||||||
```json
|
```json
|
||||||
---
|
|
||||||
{
|
{
|
||||||
"mode": "standalone",
|
"mode": "standalone",
|
||||||
"port": "80",
|
"port": "80",
|
||||||
@ -175,7 +175,6 @@ mail.example.com smtp.example.com webmail.example.net *.intra.example.com:
|
|||||||
* Example domain configuration file (JSON syntax):
|
* Example domain configuration file (JSON syntax):
|
||||||
|
|
||||||
```json
|
```json
|
||||||
---
|
|
||||||
{
|
{
|
||||||
"mail.example.com": [
|
"mail.example.com": [
|
||||||
{ "path": "/etc/postfix/ssl/mail.key",
|
{ "path": "/etc/postfix/ssl/mail.key",
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
# Optional: Authority API endpoint to use
|
# Optional: Authority API endpoint to use
|
||||||
# Legacy ACME v1 API with options:
|
# Legacy ACME v1 API with options:
|
||||||
#api: v1
|
#api: v1
|
||||||
#authority: "https://acme-v01.api.letsencrypt.org"
|
#authority: "https://acme-v01.api.letsencrypt.org"
|
||||||
#authority: "https://acme-staging.api.letsencrypt.org"
|
#authority: "https://acme-staging.api.letsencrypt.org"
|
||||||
#authority_tos_agreement: "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf"
|
#authority_tos_agreement: "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf"
|
||||||
|
|
||||||
# Current (default) ACME v2 API with options:
|
# Current (default) ACME v2 API with options:
|
||||||
#api: v2
|
#api: v2
|
||||||
#authority: "https://acme-v02.api.letsencrypt.org"
|
#authority: "https://acme-v02.api.letsencrypt.org"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
mail.example.com:
|
mail.example.com:
|
||||||
- path: /etc/postfix/ssl/mail.key
|
- path: /etc/postfix/ssl/mail.key
|
||||||
user: root
|
user: root
|
||||||
|
Loading…
Reference in New Issue
Block a user