1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-11 05:55:29 +00:00

New settings option for a custom SSH host (#3763) (#446)

* New settings option for a custom SSH host (#3763)

* let default ssh listen addr empty
This commit is contained in:
Lunny Xiao
2016-12-22 20:26:43 +08:00
committed by Thomas Boerger
parent 11df7ebfc5
commit 65b1875d2b
4 changed files with 10 additions and 7 deletions

View File

@ -82,6 +82,7 @@ var (
StartBuiltinServer bool `ini:"START_SSH_SERVER"`
Domain string `ini:"SSH_DOMAIN"`
Port int `ini:"SSH_PORT"`
ListenHost string `ini:"SSH_LISTEN_HOST"`
ListenPort int `ini:"SSH_LISTEN_PORT"`
RootPath string `ini:"SSH_ROOT_PATH"`
KeyTestPath string `ini:"SSH_KEY_TEST_PATH"`