add another demo

This commit is contained in:
AJ ONeal 2018-05-12 15:48:33 -06:00
parent 6a0f25c685
commit 5da8c6aa2d
2 changed files with 14 additions and 2 deletions

View File

@ -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
View File