1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/codimd_ynh.git synced 2024-09-03 18:16:32 +02:00
codimd_ynh/conf/config.json.example
ericgaspar 76c9e61ee4
rebase
fix nginx

remove sessionSecret

Update change_url

Update change_url

Revert "Update change_url"

This reverts commit 1b789974ee.

Revert "Update change_url"

This reverts commit 7cca143636.

Update install

Update upgrade

remove

Update nginx.conf

Update README_fr.md

Update change_url
2020-07-01 21:08:21 +02:00

53 lines
1.5 KiB
Text

{
"production": {
"protocolUseSSL": true,
"domain": "__DOMAIN__",
"port": "__PORT__",
"urlPath": "__PATH__",
"loglevel": "info",
"useCDN": false,
"allowGravatar": false,
"allowFreeURL": false,
"allowAnonymousEdits": true,
"defaultPermission": "locked",
"email": true,
"allowEmailRegister": true,
"imageUploadType": "filesystem",
"hsts": {
"enable": true,
"maxAgeSeconds": 31536000,
"includeSubdomains": true,
"preload": true
},
"csp": {
"enable": true,
"directives": {
},
"upgradeInsecureRequests": "auto",
"addDefaults": true,
"addDisqus": true,
"addGoogleAnalytics": false
},
"db": {
"username": "__DB_USER__",
"password": "__DB_PASS__",
"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"
}
}
}