Commit 0023971b authored by Alain Takoudjou's avatar Alain Takoudjou

nextcloud: allow to set infinite amount of trusted domains

parent 86a21a53
......@@ -26,4 +26,4 @@ md5sum = 6f42f0a8c5e5c0c657541a65c4d9ee57
[template-nextcloud-instance]
filename = nextcloud-instance.cfg.in
md5sum = 4426b5e62c61efec2e68e7f548bc6463
md5sum = 004e4bdfc49c7faee975343b6fece75c
......@@ -115,19 +115,14 @@
"type": "string",
"format": "uri"
},
"instance.trusted-domain-1": {
"instance.trusted-domain-list": {
"title": "Authorized domain on nextcloud",
"description": "Trusted domain used to connect to Nextcloud instance.",
"type": "string"
},
"instance.trusted-domain-2": {
"title": "Second authorized domain on nextcloud",
"description": "Trusted domain used to connect to Nextcloud instance.",
"description": "Space serapated trusted domains used to connect to Nextcloud instance.",
"type": "string"
},
"instance.trusted-domain-3": {
"title": "Third authorized domain on nextcloud",
"description": "Trusted domain used to connect to Nextcloud instance.",
"instance.trusted-proxy-list": {
"title": "Trusted proxy list",
"description": "Space separated list of trusted proxies hosts.",
"type": "string"
},
"instance.trusted-proxy-list": {
......
......@@ -45,10 +45,7 @@ nextcloud = ${:document-root}
admin-user = admin
admin-password = admin
trusted-domain-list =
[${apache-php-configuration:ip}]:${apache-php-configuration:port}
${slap-parameter:instance.trusted-domain-1}
${slap-parameter:instance.trusted-domain-2}
${slap-parameter:instance.trusted-domain-3}
[${apache-php-configuration:ip}]:${apache-php-configuration:port} ${slap-parameter:instance.trusted-domain-list}
trusted-proxy-list = ${slap-parameter:instance.trusted-proxy-list}
cli-url = ${slap-parameter:instance.cli-url}
......@@ -223,7 +220,5 @@ instance.turn-server =
instance.turn-secret =
instance.cli-url = ${apache-php-configuration:url}
instance.trusted-domain-1 =
instance.trusted-domain-2 =
instance.trusted-domain-3 =
instance.trusted-domain-list =
instance.trusted-proxy-list =
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment