update quickstart

This commit is contained in:
AJ ONeal 2019-11-01 04:29:49 -06:00
parent 3ea7d3e97b
commit c93ecf307b
1 changed files with 16 additions and 6 deletions

View File

@ -93,13 +93,8 @@ Manage via API or the config file:
Easy as 1, 2, 3... 4
1. Create a node project
2. Create an http app (i.e. Express)
3. Serve with Greenlock Express
4. Manage SSL certifates and domains
<details>
<summary>Read Guide</summary>
<summary>1. Create a node project</summary>
## 1. Create a node project
@ -113,6 +108,11 @@ pushd ~/my-project
npm init
```
</details>
<details>
<summary>2. Create an http app (i.e. express)</summary>
## 2. Create an http app (i.e. express)
This example is shown with Express, but any node app will doGreenlock
@ -143,6 +143,11 @@ app.get("/", myPlainNodeHttpApp);
module.exports = app;
```
</details>
<details>
<summary>3. Serve with Greenlock Express</summary>
## 3. Serve with Greenlock Express
Greenlock Express is designed with these goals in mind:
@ -198,6 +203,11 @@ Listening on 0.0.0.0:80 for ACME challenges and HTTPS redirects
Listening on 0.0.0.0:443 for secure traffic
```
</details>
<details>
<summary>4. Manage SSL Certificates and Domains</summary>
## 4. Manage domains
The management API is built to work with Databases, S3, etc.