2016-04-05 14:40:37 +00:00
|
|
|
[portal]
|
2016-04-15 17:22:16 +00:00
|
|
|
plugins_dir=./plugins
|
2016-04-16 14:50:05 +00:00
|
|
|
static_dir=./static
|
2016-04-05 14:40:37 +00:00
|
|
|
listen_host=localhost
|
|
|
|
listen_port=9080
|
|
|
|
debug=True
|
|
|
|
|
2016-04-15 17:22:16 +00:00
|
|
|
redis_host=127.0.0.1
|
|
|
|
redis_port=6379
|
|
|
|
|
2016-04-16 14:50:05 +00:00
|
|
|
plugin_ttl=120
|
|
|
|
|
2016-04-27 15:05:23 +00:00
|
|
|
index_page=portalindex
|
|
|
|
|
2016-04-05 14:40:37 +00:00
|
|
|
[logging]
|
|
|
|
log_format = %(asctime)s %(name)s[%(process)s] %(levelname)s: %(message)s
|
|
|
|
log_debug = False
|
|
|
|
|
|
|
|
# Handler can be one of file or syslog
|
|
|
|
log_handler = file
|
|
|
|
|
|
|
|
syslog_address = /dev/log
|
|
|
|
syslog_port = 514
|
|
|
|
|
|
|
|
# for file handler
|
|
|
|
log_max_bytes = 20971520
|
|
|
|
log_max_copies = 5
|
|
|
|
log_file = ./captiveportal.log
|