diff options
author | Morten Bøgeskov <source@bogeskov.dk> | 2015-06-04 08:24:34 +0200 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2015-06-15 12:51:52 -0400 |
commit | 18231200d33b62d2d96286b9bbd84476df5d9189 (patch) | |
tree | 0cef663b566da4c34cf05bb5f720bcda5f6d0455 /src/main/distrib/data | |
parent | 35a925961d5df5cbdf5ddb7df80b616064b3e0e9 (diff) | |
download | gitblit-18231200d33b62d2d96286b9bbd84476df5d9189.tar.gz gitblit-18231200d33b62d2d96286b9bbd84476df5d9189.zip |
Added git.sshDisplay{Port|Host} to hide port forward.
Running gitblit in a container it's easy to expose the ssh on the default port.
Using git.sshDisplayPort/git.sshDisplayHost you can expose the forwarded address
as the official location.
Diffstat (limited to 'src/main/distrib/data')
-rw-r--r-- | src/main/distrib/data/defaults.properties | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/distrib/data/defaults.properties b/src/main/distrib/data/defaults.properties index cc42d907..272eec08 100644 --- a/src/main/distrib/data/defaults.properties +++ b/src/main/distrib/data/defaults.properties @@ -112,6 +112,18 @@ git.sshPort = 29418 # RESTART REQUIRED git.sshBindInterface = +# Manually specify the hostname to use in advertised SSH repository urls. +# This may be useful in complex forwarding setups. +# +# SINCE 1.7.0 +git.sshDisplayHost = + +# Manually specify the port to use in advertised SSH repository urls. +# This may be useful in complex forwarding setups. +# +# SINCE 1.7.0 +git.sshDisplayPort = + # Specify the SSH key manager to use for retrieving, storing, and removing # SSH keys. # |