diff options
author | paschaef <45995338+paschaef@users.noreply.github.com> | 2020-03-03 04:38:33 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2020-03-03 04:31:56 +0300 |
commit | 9304c86a0330d31826c109f4916ee56a5239d96a (patch) | |
tree | 6b314e887fd78782ff871717a03f8469837a8264 /etc | |
parent | 4a51c1f5e8a33e670a63c4c82f7eae7115b86980 (diff) |
Add nc-trusted-proxies (#1094)v1.22.0
Signed-off-by: paschaef <45995338+paschaef@users.noreply.github.com>
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/ncp-config.d/nc-trusted-proxies.cfg | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/etc/ncp-config.d/nc-trusted-proxies.cfg b/etc/ncp-config.d/nc-trusted-proxies.cfg new file mode 100644 index 00000000..5c624861 --- /dev/null +++ b/etc/ncp-config.d/nc-trusted-proxies.cfg @@ -0,0 +1,28 @@ +{ + "id": "nc-trusted-proxies", + "name": "Nc-trusted-proxies", + "title": "nc-trusted-proxies", + "description": "Manually add trusted proxies", + "info": "This operation is only needed if NCP is running behind a reverse proxy and the true client IP address is needed", + "infotitle": "", + "params": [ + { + "id": "PROXY1", + "name": "Trusted Proxy #1", + "value": "", + "suggest": "my.proxy.com" + }, + { + "id": "PROXY2", + "name": "Trusted Proxy #2", + "value": "", + "suggest": "other.proxy.com" + }, + { + "id": "PROXY3", + "name": "Trusted Proxy #3", + "value": "", + "suggest": "172.0.0.1" + } + ] +} |