1
0
mirror of https://github.com/moepman/acertmgr.git synced 2024-12-28 19:31:55 +01:00

docs: cleanup whitespace and remove "---" from json examples

This commit is contained in:
Markus 2019-03-21 22:12:53 +01:00
parent 5b3993e9ef
commit 92337436bc
3 changed files with 7 additions and 5 deletions

View File

@ -56,12 +56,14 @@ All configuration files can use yaml (requires PyYAML) or json syntax.
```yaml
---
# Optional: Authority API endpoint to use
# Legacy ACME v1 API with options:
#api: v1
#authority: "https://acme-v01.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"
# Current (default) ACME v2 API with options:
#api: v2
#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'
format: crt,ca
action: '/etc/init.d/postfix reload'
```
* Example optional global configuration file (JSON syntax):
```json
---
{
"mode": "standalone",
"port": "80",
@ -175,7 +175,6 @@ mail.example.com smtp.example.com webmail.example.net *.intra.example.com:
* Example domain configuration file (JSON syntax):
```json
---
{
"mail.example.com": [
{ "path": "/etc/postfix/ssl/mail.key",

View File

@ -1,10 +1,12 @@
---
# Optional: Authority API endpoint to use
# Legacy ACME v1 API with options:
#api: v1
#authority: "https://acme-v01.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"
# Current (default) ACME v2 API with options:
#api: v2
#authority: "https://acme-v02.api.letsencrypt.org"
@ -25,4 +27,4 @@ authority_tos_agreement: "true" # Indicates you agree to the ToS stated by the A
#mode: webdir
#webdir: /var/www/acme-challenge/
#mode: standalone
#port: 13135
#port: 13135

View File

@ -1,4 +1,5 @@
---
mail.example.com:
- path: /etc/postfix/ssl/mail.key
user: root
@ -61,4 +62,4 @@ mail.example.com smtp.example.com webmail.example.net *.intra.example.com:
group: root
perm: '400'
format: crt,ca
action: '/etc/init.d/postfix reload'
action: '/etc/init.d/postfix reload'