mirror of
https://github.com/go-acme/lego
synced 2026-03-14 14:35:48 +01:00
docs(cPanel): fix examples (#2529)
This commit is contained in:
parent
e9a255df9b
commit
476f9ed910
2 changed files with 14 additions and 14 deletions
14
docs/content/dns/zz_gen_cpanel.md
generated
14
docs/content/dns/zz_gen_cpanel.md
generated
|
|
@ -28,17 +28,17 @@ Here is an example bash command using the CPanel/WHM provider:
|
|||
```bash
|
||||
### CPANEL (default)
|
||||
|
||||
CPANEL_USERNAME = "yyyy"
|
||||
CPANEL_TOKEN = "xxxx"
|
||||
CPANEL_BASE_URL = "https://example.com:2083" \
|
||||
CPANEL_USERNAME="yyyy" \
|
||||
CPANEL_TOKEN="xxxx" \
|
||||
CPANEL_BASE_URL="https://example.com:2083" \
|
||||
lego --email you@example.com --dns cpanel -d '*.example.com' -d example.com run
|
||||
|
||||
## WHM
|
||||
|
||||
CPANEL_MODE = whm
|
||||
CPANEL_USERNAME = "yyyy"
|
||||
CPANEL_TOKEN = "xxxx"
|
||||
CPANEL_BASE_URL = "https://example.com:2087" \
|
||||
CPANEL_MODE=whm \
|
||||
CPANEL_USERNAME="yyyy" \
|
||||
CPANEL_TOKEN="xxxx" \
|
||||
CPANEL_BASE_URL="https://example.com:2087" \
|
||||
lego --email you@example.com --dns cpanel -d '*.example.com' -d example.com run
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -7,17 +7,17 @@ Since = "v4.16.0"
|
|||
Example = '''
|
||||
### CPANEL (default)
|
||||
|
||||
CPANEL_USERNAME = "yyyy"
|
||||
CPANEL_TOKEN = "xxxx"
|
||||
CPANEL_BASE_URL = "https://example.com:2083" \
|
||||
CPANEL_USERNAME="yyyy" \
|
||||
CPANEL_TOKEN="xxxx" \
|
||||
CPANEL_BASE_URL="https://example.com:2083" \
|
||||
lego --email you@example.com --dns cpanel -d '*.example.com' -d example.com run
|
||||
|
||||
## WHM
|
||||
|
||||
CPANEL_MODE = whm
|
||||
CPANEL_USERNAME = "yyyy"
|
||||
CPANEL_TOKEN = "xxxx"
|
||||
CPANEL_BASE_URL = "https://example.com:2087" \
|
||||
CPANEL_MODE=whm \
|
||||
CPANEL_USERNAME="yyyy" \
|
||||
CPANEL_TOKEN="xxxx" \
|
||||
CPANEL_BASE_URL="https://example.com:2087" \
|
||||
lego --email you@example.com --dns cpanel -d '*.example.com' -d example.com run
|
||||
'''
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue