Skip to content
This repository has been archived by the owner on Apr 2, 2019. It is now read-only.

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sktt committed Aug 18, 2016
1 parent dff4af0 commit 18676c6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
node_modules/
.nyc_output/
coverage/
npm-debug.log
4 changes: 3 additions & 1 deletion api.md
Expand Up @@ -147,7 +147,9 @@ Remove an item from cache can also be named `del`
<a name="AccessWatch.fwdHeaders"></a>

### AccessWatch.fwdHeaders : <code>AccessWatch.ForwardHeaders</code>
The standard headers that a reverse proxy should set.
The standard headers that a reverse proxy should set. This means that
forwarded request should set the headers `X-Forwarded-For`,
`X-Forwarded-Proto`, and the first entry of `X-Forwarded-For`

**Kind**: static property of <code>[AccessWatch](#AccessWatch)</code>
<a name="AccessWatch.ForwardedHeaders"></a>
Expand Down
4 changes: 3 additions & 1 deletion index.js
Expand Up @@ -269,7 +269,9 @@ class AccessWatch {
}

/**
* The standard headers that a reverse proxy should set.
* The standard headers that a reverse proxy should set. This means that
* forwarded request should set the headers `X-Forwarded-For`,
* `X-Forwarded-Proto`, and the first entry of `X-Forwarded-For`
*
* @type {AccessWatch.ForwardHeaders}
*/
Expand Down

0 comments on commit 18676c6

Please sign in to comment.