mirror of
https://git.coolaj86.com/coolaj86/greenlock-cli.js
synced 2025-02-23 11:38:05 +00:00
add another demo
This commit is contained in:
parent
6a0f25c685
commit
5da8c6aa2d
16
README.md
16
README.md
@ -37,18 +37,30 @@ Demo
|
|||||||
Run as a webserver:
|
Run as a webserver:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo greenlock --daemon --root /srv/www/example.com --domains example.com,www.example.com
|
sudo greenlock --daemon \
|
||||||
|
--email jon@example.com \
|
||||||
|
--agree-tos \
|
||||||
|
--root /srv/www/example.com \
|
||||||
|
--domains example.com,www.example.com
|
||||||
```
|
```
|
||||||
|
|
||||||
Fetch certificates for Apache, Nginx, or HAProxy:
|
Fetch certificates for Apache, Nginx, or HAProxy:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
greenlock --domains example.com,www.example.com \
|
greenlock --email jon@example.com \
|
||||||
|
--agree-tos \
|
||||||
|
--domains example.com,www.example.com \
|
||||||
--webroot-path /srv/www/example.com \
|
--webroot-path /srv/www/example.com \
|
||||||
--privkey-path /etc/ssl/privkey.pem \
|
--privkey-path /etc/ssl/privkey.pem \
|
||||||
--fullchain-path /etc/ssl/fullchain.pem
|
--fullchain-path /etc/ssl/fullchain.pem
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Robust configurations for Greenlock as a system service
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo greenlock --install systemd --conf /etc/greenlock/greenlock.yml
|
||||||
|
```
|
||||||
|
|
||||||
See explanations below in the **Usage** section.
|
See explanations below in the **Usage** section.
|
||||||
|
|
||||||
Install
|
Install
|
||||||
|
0
installer/get.sh
Normal file → Executable file
0
installer/get.sh
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user