From 8d156c7cc05fe85443af7ec14f35acbf158058df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Rodr=C3=ADguez=20Baquero?= Date: Thu, 25 Nov 2021 11:50:52 -0500 Subject: [PATCH] doc: trust proxy opt --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a7a5724..0226100 100644 --- a/README.md +++ b/README.md @@ -189,6 +189,7 @@ var server = new Server({ http: true, // enable http server? [default=true] ws: true, // enable websocket server? [default=true] stats: true, // enable web-based statistics? [default=true] + trustProxy: false // enable trusting x-forwarded-for header for remote IP [default=false] filter: function (infoHash, params, cb) { // Blacklist/whitelist function for allowing/disallowing torrents. If this option is // omitted, all torrents are allowed. It is possible to interface with a database or