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:
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"
+ }
+ ]
+}