2018-11-21 16:35:21 +01:00
|
|
|
{
|
|
|
|
"production": {
|
2019-11-28 02:05:34 +01:00
|
|
|
"protocolUseSSL": true,
|
|
|
|
"domain": "__DOMAIN__",
|
2020-05-25 14:13:00 +02:00
|
|
|
"port": "__PORT__",
|
2019-11-28 02:05:34 +01:00
|
|
|
"loglevel": "info",
|
|
|
|
"useCDN": false,
|
|
|
|
"allowGravatar": false,
|
2020-05-21 12:49:24 +02:00
|
|
|
"allowPDFExport": false,
|
2018-11-21 16:35:21 +01:00
|
|
|
"hsts": {
|
|
|
|
"enable": true,
|
2019-11-28 02:05:34 +01:00
|
|
|
"maxAgeSeconds": 31536000,
|
2018-11-21 16:35:21 +01:00
|
|
|
"includeSubdomains": true,
|
|
|
|
"preload": true
|
|
|
|
},
|
|
|
|
"csp": {
|
|
|
|
"enable": true,
|
|
|
|
"directives": {
|
|
|
|
},
|
|
|
|
"upgradeInsecureRequests": "auto",
|
|
|
|
"addDefaults": true,
|
|
|
|
"addDisqus": true,
|
2020-05-21 12:49:24 +02:00
|
|
|
"addGoogleAnalytics": false
|
2018-11-21 16:35:21 +01:00
|
|
|
},
|
|
|
|
"db": {
|
2018-11-21 17:26:37 +01:00
|
|
|
"username": "__DB_USER__",
|
|
|
|
"password": "__DB_PASS__",
|
|
|
|
"database": "__DB_NAME__",
|
2018-11-21 16:35:21 +01:00
|
|
|
"host": "localhost",
|
2020-05-23 09:14:00 +02:00
|
|
|
"port": "5432",
|
|
|
|
"dialect": "postgres"
|
2020-05-27 23:41:23 +02:00
|
|
|
},
|
|
|
|
"ldap": {
|
2020-05-28 08:34:50 +02:00
|
|
|
"url": "ldap://127.0.0.1:389",
|
2020-05-27 23:41:23 +02:00
|
|
|
"bindDn": "ou=users,dc=yunohost,dc=org",
|
|
|
|
"bindCredentials": "<super secret password>",
|
|
|
|
"searchBase": "dc=internal,dc=example,dc=com",
|
|
|
|
"searchFilter": "(&(objectcategory=person)(objectclass=user)(|(sAMAccountName={{username}})(mail={{username}})))",
|
|
|
|
"useridField": "uid"
|
2020-05-21 14:24:25 +02:00
|
|
|
}
|
2018-11-21 16:35:21 +01:00
|
|
|
}
|
2020-05-22 10:40:49 +02:00
|
|
|
}
|