diff --git a/site-cookbooks/kosmos_gitea/templates/default/nginx_conf_ssh.erb b/site-cookbooks/kosmos_gitea/templates/default/nginx_conf_ssh.erb index 9a84533..2fd974a 100644 --- a/site-cookbooks/kosmos_gitea/templates/default/nginx_conf_ssh.erb +++ b/site-cookbooks/kosmos_gitea/templates/default/nginx_conf_ssh.erb @@ -4,5 +4,6 @@ upstream _gitea_ssh { server { listen <%= "#{node['openresty']['listen_ip']}:" if node['openresty']['listen_ip'] %>22; + listen [::]:22; proxy_pass _gitea_ssh; }