You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
101 lines
2.8 KiB
101 lines
2.8 KiB
{
|
|
"log": {
|
|
"filePath": "/etc/onlyoffice/documentserver/log4js/production.json"
|
|
},
|
|
"storage": {
|
|
"fs": {
|
|
"folderPath": "/var/lib/onlyoffice/documentserver/App_Data/cache/files"
|
|
}
|
|
},
|
|
"services": {
|
|
"CoAuthoring": {
|
|
{% if oo_secret is defined %}
|
|
"secret": {
|
|
"inbox": {
|
|
"string": "{{ oo_secret }}"
|
|
},
|
|
"outbox": {
|
|
"string": "{{ oo_secret }}"
|
|
}
|
|
},
|
|
"token": {
|
|
"enable": {
|
|
"browser": true,
|
|
"request": {
|
|
"inbox": true,
|
|
"outbox": true
|
|
}
|
|
}
|
|
},
|
|
{% endif %}
|
|
"sql": {
|
|
"type": "mysql",
|
|
"dbHost": "{{ oo_db_server }}",
|
|
"dbPort": {{ oo_db_port }},
|
|
"dbName": "{{ oo_db_name }}",
|
|
"dbUser": "{{ oo_db_user }}",
|
|
"dbPass": "{{ oo_db_pass }}",
|
|
"charset": "utf8"
|
|
},
|
|
"autoAssembly": {
|
|
"enable": true,
|
|
"interval": "5m"
|
|
},
|
|
"server": {
|
|
"static_content": {
|
|
"/fonts": {
|
|
"path": "/var/www/onlyoffice/documentserver/fonts",
|
|
"options": {"maxAge": "7d"}
|
|
},
|
|
"/sdkjs": {
|
|
"path": "/var/www/onlyoffice/documentserver/sdkjs",
|
|
"options": {"maxAge": "7d"}
|
|
},
|
|
"/web-apps": {
|
|
"path": "/var/www/onlyoffice/documentserver/web-apps",
|
|
"options": {"maxAge": "7d"}
|
|
},
|
|
"/welcome": {
|
|
"path": "/var/www/onlyoffice/documentserver/server/welcome",
|
|
"options": {"maxAge": "7d"}
|
|
},
|
|
"/info": {
|
|
"path": "/var/www/onlyoffice/documentserver/server/info",
|
|
"options": {"maxAge": "7d"}
|
|
},
|
|
"/sdkjs-plugins": {
|
|
"path": "/var/www/onlyoffice/documentserver/sdkjs-plugins",
|
|
"options": {"maxAge": "7d"}
|
|
}
|
|
}
|
|
},
|
|
"utils": {
|
|
"utils_common_fontdir": "/usr/share/fonts"
|
|
},
|
|
"sockjs": {
|
|
"sockjs_url": "/web-apps/vendor/sockjs/sockjs.min.js"
|
|
}
|
|
}
|
|
},
|
|
"license": {
|
|
"license_file": "/var/www/onlyoffice/documentserver/../Data/license.lic",
|
|
"warning_limit_percents": "70"
|
|
},
|
|
"FileConverter": {
|
|
"converter": {
|
|
"fontDir": "/usr/share/fonts",
|
|
"presentationThemesDir": "/var/www/onlyoffice/documentserver/sdkjs/slide/themes",
|
|
"x2tPath": "/var/www/onlyoffice/documentserver/server/FileConverter/bin/x2t",
|
|
"docbuilderPath": "/var/www/onlyoffice/documentserver/server/FileConverter/bin/docbuilder",
|
|
"docbuilderAllFontsPath": "/var/lib/onlyoffice/documentserver/App_Data/docbuilder/AllFonts.js"
|
|
}
|
|
},
|
|
"FileStorage": {
|
|
"directory": "/var/lib/onlyoffice/documentserver/App_Data"
|
|
},
|
|
"SpellChecker": {
|
|
"server": {
|
|
"dictDir": "/var/www/onlyoffice/documentserver/server/SpellChecker/dictionaries"
|
|
}
|
|
}
|
|
}
|
|
|