summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-11-16 23:06:50 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-11-16 23:06:50 -0200
commite7ff572b1c79380721c137dd4d8a1ed965a26974 (patch)
tree30dcdd3eafa62761b9c3a97235c3ef12ec2e4c44 /templates
parent0b4651779dadfa2826b40431c30d09c3377ecad6 (diff)
downloadpuppet-etherpad-e7ff572b1c79380721c137dd4d8a1ed965a26974.tar.gz
puppet-etherpad-e7ff572b1c79380721c137dd4d8a1ed965a26974.tar.bz2
Updating config file
Diffstat (limited to 'templates')
-rw-r--r--templates/settings.json.erb34
1 files changed, 32 insertions, 2 deletions
diff --git a/templates/settings.json.erb b/templates/settings.json.erb
index af1ca63..8244228 100644
--- a/templates/settings.json.erb
+++ b/templates/settings.json.erb
@@ -5,6 +5,13 @@
Please edit settings.json, not settings.json.template
*/
{
+ // Name your instance!
+ "title": "Etherpad Lite",
+
+ // favicon default name
+ // alternatively, set up a fully specified Url to your own favicon
+ "favicon": "favicon.ico",
+
//Ip and port which etherpad should bind at
"ip": "0.0.0.0",
"port" : 9001,
@@ -31,12 +38,35 @@
but makes it impossible to debug the javascript/css */
"minify" : true,
+ /* How long may clients use served javascript code (in seconds)? Without versioning this
+ may cause problems during deployment. Set to 0 to disable caching */
+ "maxAge" : 21600, // 60 * 60 * 6 = 6 hours
+
/* This is the path to the Abiword executable. Setting it to null, disables abiword.
Abiword is needed to enable the import/export of pads*/
"abiword" : "/usr/bin/abiword",
- /* This setting is used if you need http basic auth */
- // "httpAuth" : "user:pass",
+ /* This setting is used if you require authentication of all users.
+ Note: /admin always requires authentication. */
+ "requireAuthentication": false,
+
+ /* Require authorization by a module, or a user with is_admin set, see below. */
+ "requireAuthorization": false,
+
+ /* Users for basic authentication. is_admin = true gives access to /admin.
+ If you do not uncomment this, /admin will not be available! */
+ /*
+ "users": {
+ "admin": {
+ "password": "changeme1",
+ "is_admin": true
+ },
+ "user": {
+ "password": "changeme1",
+ "is_admin": false
+ }
+ },
+ */
/* The log level we are using, can be: DEBUG, INFO, WARN, ERROR */
"loglevel": "INFO"