diff options
author | Unknwon <u@gogs.io> | 2016-02-25 00:21:48 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-02-25 00:21:48 -0500 |
commit | 4438b7793b143c71675b0ae954036830b7afd2b7 (patch) | |
tree | dc3dead31ecc9ee05153901ac4825ab8ed14b00b /gogs.go | |
parent | baaf6046a1b0b81b91c76ecc259a13f9eb1c5cdb (diff) | |
download | gitea-4438b7793b143c71675b0ae954036830b7afd2b7.tar.gz gitea-4438b7793b143c71675b0ae954036830b7afd2b7.zip |
Add new config option for builtin SSH server
Config option [server] SSH_LISTEN_PORT to the port the builtin SSH server will be listen.
It can be different from SSH_PORT which is supposed to be exposed in the clone URL.
This should solve the problem when user runs Gogs inside Docker container
and still want to use builtin SSH server.
Diffstat (limited to 'gogs.go')
-rw-r--r-- | gogs.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ import ( "github.com/gogits/gogs/modules/setting" ) -const APP_VER = "0.8.44.0224" +const APP_VER = "0.8.44.0225" func init() { runtime.GOMAXPROCS(runtime.NumCPU()) |