Skip to content

Commit

Permalink
call out AWS API Gateway
Browse files Browse the repository at this point in the history
relates to #260
  • Loading branch information
nfriedly committed Nov 6, 2021
1 parent e69d0a7 commit 03bb47c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -40,7 +40,7 @@ For an API-only server where the rate-limiter should be applied to all requests:
```js
const rateLimit = require("express-rate-limit");

// Enable if you're behind a reverse proxy (Heroku, Bluemix, AWS ELB, Nginx, etc)
// Enable if you're behind a reverse proxy (Heroku, Bluemix, AWS ELB or API Gateway, Nginx, etc)
// see https://expressjs.com/en/guide/behind-proxies.html
// app.set('trust proxy', 1);

Expand All @@ -58,7 +58,7 @@ For a "regular" web server (e.g. anything that uses `express.static()`), where t
```js
const rateLimit = require("express-rate-limit");

// Enable if you're behind a reverse proxy (Heroku, Bluemix, AWS ELB, Nginx, etc)
// Enable if you're behind a reverse proxy (Heroku, Bluemix, AWS ELB or API Gateway, Nginx, etc)
// see https://expressjs.com/en/guide/behind-proxies.html
// app.set('trust proxy', 1);

Expand Down

0 comments on commit 03bb47c

Please sign in to comment.