better comment in default configuration + add section

* better comments in default config about static file serving
* adding section for futur functionality: adding custom js files
  (for auto-fill)
This commit is contained in:
kakwa 2015-08-05 20:03:17 +02:00
parent 94b35655dc
commit f61c7908cb
1 changed files with 16 additions and 0 deletions

View File

@ -162,5 +162,21 @@ auth.mode = 'or'
templates.dir = '/usr/share/ldapcherry/templates/'
[/static]
# enable serving static file through ldapcherry
# set to False if files served directly by an
# http server for better performance
tools.staticdir.on = True
# static resources directory (js, css, images...)
tools.staticdir.dir = '/usr/share/ldapcherry/static/'
## custom javascript files
#[/custom]
#
## enable serving static file through ldapcherry
## set to False if files served directly by an
## http server for better performance
#tools.staticdir.on = True
## path to directory containing js files
## use it to add custom auto-fill functions
#tools.staticdir.dir = '/etc/ldapcherry/custom_js/'