From 8e2848b204a46eae7ded52ef4a5803a326574c89 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 15 Aug 2016 19:14:57 -0400 Subject: [PATCH] update headers --- README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 077a191..a216cfa 100644 --- a/README.md +++ b/README.md @@ -42,11 +42,8 @@ Install npm install --save letsencrypt-express@2.x ``` -Usage -===== - QuickStart ----------- +========== Here's a completely working (but terribly oversimplified) example that will get you started: @@ -93,8 +90,8 @@ In order to avoid being blocked by hitting rate limits with bad requests, you should always test against the `'staging'` server (`https://acme-staging.api.letsencrypt.org/directory`) first. -A more typical example ----------------------- +Usage +===== The oversimplified example was the bait (because everyone seems to want an example that fits in 3 lines, even if it's terribly bad practices), @@ -153,7 +150,8 @@ require('https').createServer(lex.httpsOptions, lex.middleware(app)).listen(443, }); ``` -### API +API +=== All options are passed directly to `node-letsencrypt`, so `lex` is an instance of `letsencrypt`, but has a few