From 039dbdf09104fdc0b9791cec74cc2497bdb206ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Fri, 9 Jan 2026 13:43:06 +0700 Subject: [PATCH] Enable Gitea SSH via IPv6 closes #612 --- site-cookbooks/kosmos_gitea/templates/default/nginx_conf_ssh.erb | 1 + 1 file changed, 1 insertion(+) 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; }