Fix haproxy & ssh config
This commit is contained in:
parent
5b72b48b03
commit
0ab895da40
2 changed files with 1 additions and 13 deletions
|
@ -17,24 +17,12 @@ defaults
|
|||
timeout server 5m
|
||||
maxconn 3000
|
||||
|
||||
frontend ssh
|
||||
mode tcp
|
||||
|
||||
bind {{ IPV4 }}:22
|
||||
|
||||
default_backend host-ssh
|
||||
|
||||
frontend http
|
||||
mode tcp
|
||||
bind {{ IPV4 }}:80
|
||||
|
||||
default_backend host-http
|
||||
|
||||
backend host-ssh
|
||||
mode tcp
|
||||
|
||||
server localhost 127.0.0.1
|
||||
|
||||
backend host-http
|
||||
mode tcp
|
||||
server localhost 127.0.0.1
|
||||
|
|
|
@ -20,7 +20,7 @@ Include /etc/ssh/sshd_config.d/*.conf
|
|||
#
|
||||
Port 22
|
||||
#AddressFamily any
|
||||
ListenAddress 127.0.0.1
|
||||
ListenAddress 0.0.0.0
|
||||
#ListenAddress ::
|
||||
|
||||
#HostKey /etc/ssh/ssh_host_rsa_key
|
||||
|
|
Loading…
Reference in a new issue