2017-01-08 15:53:37 +00:00
|
|
|
; codec: utf-8
|
|
|
|
|
|
|
|
[common]
|
2017-05-21 18:40:45 +00:00
|
|
|
|
|
|
|
; ip=0.0.0.0
|
|
|
|
|
|
|
|
; port listen by web server, default to 7190.
|
|
|
|
; DO NOT FORGET update common::web-server-rpc in core.ini if you modified this setting.
|
|
|
|
; port=7190
|
2017-01-08 15:53:37 +00:00
|
|
|
port=7190
|
|
|
|
|
2017-05-21 18:40:45 +00:00
|
|
|
; log file of web server, default to /var/log/teleport/tpweb.log
|
|
|
|
; log-file=/var/log/teleport/tpweb.log
|
2017-01-08 15:53:37 +00:00
|
|
|
|
2017-05-21 18:40:45 +00:00
|
|
|
; `log-level` can be 0 ~ 4, default to 2.
|
|
|
|
; LOG_LEVEL_DEBUG 0 log every-thing.
|
|
|
|
; LOG_LEVEL_VERBOSE 1 log every-thing but without debug message.
|
|
|
|
; LOG_LEVEL_INFO 2 log information/warning/error message.
|
|
|
|
; LOG_LEVEL_WARN 3 log warning and error message.
|
|
|
|
; LOG_LEVEL_ERROR 4 log error message only.
|
|
|
|
; log-level=2
|
2017-03-06 21:59:48 +00:00
|
|
|
|
2017-05-19 10:17:02 +00:00
|
|
|
; 0/1. default to 0.
|
2017-05-21 18:40:45 +00:00
|
|
|
; in debug mode, `log-level` force to 0 and trace call stack when exception raised.
|
|
|
|
; debug-mode=0
|
2017-05-19 10:17:02 +00:00
|
|
|
debug-mode=0
|
2017-03-06 21:59:48 +00:00
|
|
|
|
2017-05-21 18:40:45 +00:00
|
|
|
; `core-server-rpc` is the rpc interface of core server.
|
|
|
|
; DO NOT FORGET update this setting if you modified rpc::bind-port in core.ini.
|
|
|
|
; core-server-rpc=http://127.0.0.1:52080/rpc
|
2017-03-06 21:59:48 +00:00
|
|
|
core-server-rpc=http://127.0.0.1:52080/rpc
|
2017-03-26 19:12:15 +00:00
|
|
|
|
2017-05-21 18:40:45 +00:00
|
|
|
|
2017-05-19 10:17:02 +00:00
|
|
|
[database]
|
|
|
|
|
2017-05-21 18:40:45 +00:00
|
|
|
; database in use, should be sqlite/mysql, default to sqlite.
|
|
|
|
; type=sqlite
|
|
|
|
|
|
|
|
; sqlite-file=/var/lib/teleport/data/ts_db.db
|
|
|
|
|
|
|
|
; mysql-host=127.0.0.1
|
|
|
|
|
|
|
|
; mysql-port=3306
|
|
|
|
|
|
|
|
; mysql-db=teleport
|
|
|
|
|
|
|
|
; mysql-prefix=tp_
|
|
|
|
|
|
|
|
; mysql-user=teleport
|
|
|
|
|
|
|
|
; mysql-password=password
|
2017-05-19 10:17:02 +00:00
|
|
|
|