update default config

This commit is contained in:
Kay0u 2020-12-17 16:47:31 +01:00
parent 072e24c622
commit fec1e4cd3b
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -1,31 +1,69 @@
{ {
"portal_scheme": "https", "additional_headers": {
"portal_domain": "example.com", "Auth-User": "uid",
"portal_path": "/ssowat/", "Email": "mail",
"theme": "default", "Name": "cn",
"domains": [ "Remote-User": "uid"
"example.com", },
"domains": [
"example.tld",
"example.org" "example.org"
], ],
"skipped_urls": [ "permissions": {
"example.com/megusta", "core_skipped": {
"example.org/somuchwin" "auth_header": false,
], "label": "Core permissions - skipped",
"unprotected_urls": ["example.com/yunoprotect"], "public": true,
"additional_headers": { "show_tile": false,
"Auth-User": "uid", "uris": [
"Remote-User": "uid", "example.tld/yunohost/admin",
"Email": "mail", "example.tld/yunohost/api",
"Name": "cn" "re:^[^/]*/%.well%-known/ynh%-diagnosis/.*$",
}, "re:^[^/]*/%.well%-known/acme%-challenge/.*$",
"users": { "re:^[^/]*/%.well%-known/autoconfig/mail/config%-v1%.1%.xml.*$"
"myuser": { ],
"example.com/myapp": "My App", "users": []
"example.com/myapp2": "My second App" },
}, "myapp.admin": {
"myuser2": { "auth_header": true,
"example.org/myapp": "My other domain App", "label": "MyApp (api)",
"example.com/myapp2": "My second App" "public": false,
} "show_tile": false,
} "uris": [
} "example.tld/myapp/admin"
],
"users": [
"JaneDoe"
]
},
"myapp.api": {
"auth_header": false,
"label": "MyApp (api)",
"public": true,
"show_tile": false,
"uris": [
"re:domain%.tld/%.well%-known/.*"
],
"users": []
},
"myapp.main": {
"auth_header": true,
"label": "MyApp",
"public": true,
"show_tile": true,
"uris": [
"example.tld/myapp"
],
"users": [
"JaneDoe",
"JohnDoe"
]
}
},
"portal_domain": "example.tld",
"portal_path": "/yunohost/sso/",
"redirected_regex": {
"example.tld/yunohost[\\/]?$": "https://example.tld/yunohost/sso/"
},
"redirected_urls": {}
}