Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
105
Merge Requests
105
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
0023971b
Commit
0023971b
authored
Apr 27, 2022
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nextcloud: allow to set infinite amount of trusted domains
parent
86a21a53
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
18 deletions
+8
-18
software/nextcloud/buildout.hash.cfg
software/nextcloud/buildout.hash.cfg
+1
-1
software/nextcloud/nextcloud-input-schema.json
software/nextcloud/nextcloud-input-schema.json
+5
-10
software/nextcloud/nextcloud-instance.cfg.in
software/nextcloud/nextcloud-instance.cfg.in
+2
-7
No files found.
software/nextcloud/buildout.hash.cfg
View file @
0023971b
...
@@ -26,4 +26,4 @@ md5sum = 6f42f0a8c5e5c0c657541a65c4d9ee57
...
@@ -26,4 +26,4 @@ md5sum = 6f42f0a8c5e5c0c657541a65c4d9ee57
[template-nextcloud-instance]
[template-nextcloud-instance]
filename = nextcloud-instance.cfg.in
filename = nextcloud-instance.cfg.in
md5sum =
4426b5e62c61efec2e68e7f548bc6463
md5sum =
004e4bdfc49c7faee975343b6fece75c
software/nextcloud/nextcloud-input-schema.json
View file @
0023971b
...
@@ -115,19 +115,14 @@
...
@@ -115,19 +115,14 @@
"type"
:
"string"
,
"type"
:
"string"
,
"format"
:
"uri"
"format"
:
"uri"
},
},
"instance.trusted-domain-
1
"
:
{
"instance.trusted-domain-
list
"
:
{
"title"
:
"Authorized domain on nextcloud"
,
"title"
:
"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-2"
:
{
"title"
:
"Second authorized domain on nextcloud"
,
"description"
:
"Trusted domain used to connect to Nextcloud instance."
,
"type"
:
"string"
"type"
:
"string"
},
},
"instance.trusted-
domain-3
"
:
{
"instance.trusted-
proxy-list
"
:
{
"title"
:
"T
hird authorized domain on nextcloud
"
,
"title"
:
"T
rusted proxy list
"
,
"description"
:
"
Trusted domain used to connect to Nextcloud instance
."
,
"description"
:
"
Space separated list of trusted proxies hosts
."
,
"type"
:
"string"
"type"
:
"string"
},
},
"instance.trusted-proxy-list"
:
{
"instance.trusted-proxy-list"
:
{
...
...
software/nextcloud/nextcloud-instance.cfg.in
View file @
0023971b
...
@@ -45,10 +45,7 @@ nextcloud = ${:document-root}
...
@@ -45,10 +45,7 @@ nextcloud = ${:document-root}
admin-user = admin
admin-user = admin
admin-password = admin
admin-password = admin
trusted-domain-list =
trusted-domain-list =
[${apache-php-configuration:ip}]:${apache-php-configuration:port}
[${apache-php-configuration:ip}]:${apache-php-configuration:port} ${slap-parameter:instance.trusted-domain-list}
${slap-parameter:instance.trusted-domain-1}
${slap-parameter:instance.trusted-domain-2}
${slap-parameter:instance.trusted-domain-3}
trusted-proxy-list = ${slap-parameter:instance.trusted-proxy-list}
trusted-proxy-list = ${slap-parameter:instance.trusted-proxy-list}
cli-url = ${slap-parameter:instance.cli-url}
cli-url = ${slap-parameter:instance.cli-url}
...
@@ -223,7 +220,5 @@ instance.turn-server =
...
@@ -223,7 +220,5 @@ instance.turn-server =
instance.turn-secret =
instance.turn-secret =
instance.cli-url = ${apache-php-configuration:url}
instance.cli-url = ${apache-php-configuration:url}
instance.trusted-domain-1 =
instance.trusted-domain-list =
instance.trusted-domain-2 =
instance.trusted-domain-3 =
instance.trusted-proxy-list =
instance.trusted-proxy-list =
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment