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
|
timeout server 5m
|
||||||
maxconn 3000
|
maxconn 3000
|
||||||
|
|
||||||
frontend ssh
|
|
||||||
mode tcp
|
|
||||||
|
|
||||||
bind {{ IPV4 }}:22
|
|
||||||
|
|
||||||
default_backend host-ssh
|
|
||||||
|
|
||||||
frontend http
|
frontend http
|
||||||
mode tcp
|
mode tcp
|
||||||
bind {{ IPV4 }}:80
|
bind {{ IPV4 }}:80
|
||||||
|
|
||||||
default_backend host-http
|
default_backend host-http
|
||||||
|
|
||||||
backend host-ssh
|
|
||||||
mode tcp
|
|
||||||
|
|
||||||
server localhost 127.0.0.1
|
|
||||||
|
|
||||||
backend host-http
|
backend host-http
|
||||||
mode tcp
|
mode tcp
|
||||||
server localhost 127.0.0.1
|
server localhost 127.0.0.1
|
||||||
|
|
|
@ -20,7 +20,7 @@ Include /etc/ssh/sshd_config.d/*.conf
|
||||||
#
|
#
|
||||||
Port 22
|
Port 22
|
||||||
#AddressFamily any
|
#AddressFamily any
|
||||||
ListenAddress 127.0.0.1
|
ListenAddress 0.0.0.0
|
||||||
#ListenAddress ::
|
#ListenAddress ::
|
||||||
|
|
||||||
#HostKey /etc/ssh/ssh_host_rsa_key
|
#HostKey /etc/ssh/ssh_host_rsa_key
|
||||||
|
|
Loading…
Reference in a new issue