diff --git a/haproxy/files/haproxy_config.j2 b/haproxy/files/haproxy_config.j2 index f590fd3..a52eb1d 100644 --- a/haproxy/files/haproxy_config.j2 +++ b/haproxy/files/haproxy_config.j2 @@ -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 diff --git a/openssh/files/openssh_sshd_config b/openssh/files/openssh_sshd_config index 7595638..f6f7619 100644 --- a/openssh/files/openssh_sshd_config +++ b/openssh/files/openssh_sshd_config @@ -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