Skip to content

Commit 8d156c7

Browse files
doc: trust proxy opt
1 parent ebbeb2f commit 8d156c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ var server = new Server({
189189
http: true, // enable http server? [default=true]
190190
ws: true, // enable websocket server? [default=true]
191191
stats: true, // enable web-based statistics? [default=true]
192+
trustProxy: false // enable trusting x-forwarded-for header for remote IP [default=false]
192193
filter: function (infoHash, params, cb) {
193194
// Blacklist/whitelist function for allowing/disallowing torrents. If this option is
194195
// omitted, all torrents are allowed. It is possible to interface with a database or

0 commit comments

Comments
 (0)