models/server: add dashboard for frps by gin

This commit is contained in:
fatedier
2016-05-19 00:04:19 +08:00
parent ea323084ad
commit f404a0a5ee
5 changed files with 82 additions and 2 deletions

View File

@@ -2,8 +2,10 @@
[common]
bind_addr = 0.0.0.0
bind_port = 7000
# optional
# if you want to support virtual host, you must set the http port for listening (optional)
vhost_http_port = 80
# if you want to configure or reload frps by dashboard, dashboard_port is needed
dashboard_port = 7500
# console or real logFile path like ./frps.log
log_file = ./frps.log
# debug, info, warn, error