Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorpaschaef <45995338+paschaef@users.noreply.github.com>2020-03-03 04:38:33 +0300
committernachoparker <nacho@ownyourbits.com>2020-03-03 04:31:56 +0300
commit9304c86a0330d31826c109f4916ee56a5239d96a (patch)
tree6b314e887fd78782ff871717a03f8469837a8264 /etc
parent4a51c1f5e8a33e670a63c4c82f7eae7115b86980 (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.cfg28
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"
+ }
+ ]
+}