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.
|
2017-11-25 08:18:56 +00:00
|
|
|
; DO NOT FORGET update `common::web-server-rpc` in core.ini if you modified this setting.
|
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.
|
2017-11-25 08:18:56 +00:00
|
|
|
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-11-25 08:18:56 +00:00
|
|
|
; in debug mode, `log-level` force to 0 and display more message for debug purpose.
|
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.
|
2017-11-25 08:18:56 +00:00
|
|
|
; default to `http://127.0.0.1:52080/rpc`.
|
2017-05-21 18:40:45 +00:00
|
|
|
; DO NOT FORGET update this setting if you modified rpc::bind-port in core.ini.
|
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
|
|
|
|
|
2017-12-17 20:19:37 +00:00
|
|
|
; sqlite-file=/usr/local/teleport/data/db/teleport.db
|
2017-05-21 18:40:45 +00:00
|
|
|
|
|
|
|
; 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
|
|
|
|