1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/hedgedoc_ynh.git synced 2024-09-03 19:25:52 +02:00
hedgedoc_ynh/conf/config.json.example
Éric Gaspar 5c93b3f979
Add more security as default (#47)
* Add more security as default

* Auto-update README

* Update config.json.example

* Update change_url

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
2022-11-07 21:30:12 +01:00

60 lines
1.8 KiB
Text

{
"production": {
"protocolUseSSL": true,
"domain": "__DOMAIN__",
"port": "__PORT__",
"urlPath": "__URL_PATH__",
"loglevel": "info",
"useCDN": false,
"allowGravatar": false,
"allowFreeURL": false,
"allowAnonymous": __ALLOW_ANONYMOUS__,
"allowAnonymousEdits": true,
"defaultPermission": "locked",
"email": true,
"allowEmailRegister": __ALLOW_EMAIL_REGISTRATION__,
"imageUploadType": "filesystem",
"tooBusyLag": 1000,
"hsts": {
"enable": true,
"maxAgeSeconds": 31536000,
"includeSubdomains": true,
"preload": true
},
"csp": {
"enable": true,
"directives": {
},
"upgradeInsecureRequests": "auto",
"addDefaults": true,
"addDisqus": true,
"allowFraming": false,
"addGoogleAnalytics": false
},
"minio": {
"accessKey": "",
"secretKey": "",
"endPoint": "localhost",
"port": 9000,
"secure": false
},
"db": {
"username": "__DB_USER__",
"password": "__DB_PWD__",
"database": "__DB_NAME__",
"host": "localhost",
"port": "5432",
"dialect": "postgres"
},
"ldap": {
"url": "ldap://127.0.0.1:389",
"bindDn": null,
"bindCredentials": null,
"searchBase": "ou=users,dc=yunohost,dc=org",
"searchFilter": "(&(|(objectclass=posixAccount))(uid={{username}})(permission=cn=__APP__.main,ou=permission,dc=yunohost,dc=org))",
"usernameField": "cn",
"useridField": "uid",
"providerName": "YunoHost"
}
}
}