forked from stove/dataset
use incoming ports variable instead of hard coding value
This commit is contained in:
parent
8ad544de8b
commit
0305290883
2 changed files with 3 additions and 3 deletions
|
@ -188,13 +188,13 @@ SSH_DOMAIN = %%revprox_client_external_domainnames[0]
|
|||
;; Port number to be exposed in clone URL
|
||||
;SSH_PORT = 22
|
||||
;>GNUNUX
|
||||
SSH_PORT = 2222
|
||||
SSH_PORT = %%incoming_ports
|
||||
;<GNUNUX
|
||||
;;
|
||||
;; The port number the builtin SSH server should listen on
|
||||
;SSH_LISTEN_PORT = %(SSH_PORT)s
|
||||
;>GNUNUX
|
||||
SSH_LISTEN_PORT = 2222
|
||||
SSH_LISTEN_PORT = %%incoming_ports
|
||||
;<GNUNUX
|
||||
;;
|
||||
;; Root path of SSH directory, default is '~/.ssh', but you have to use '/home/git/.ssh'.
|
||||
|
|
|
@ -8,4 +8,4 @@ auth_server: %%oauth2_server_domainname
|
|||
username: %%username
|
||||
password: %%get_password(server_name='test', username=%%username, description='test', type="cleartext", hide=%%hide_secret, temporary=True)
|
||||
forgejo_title: "%%forgejo_title"
|
||||
git_url: "[%%domain]:2222"
|
||||
git_url: "[%%domain]:%%incoming_ports"
|
||||
|
|
Loading…
Reference in a new issue