Enable Gitea SSH via IPv6

closes #612
This commit is contained in:
2026-01-09 13:43:06 +07:00
parent e3559119be
commit 039dbdf091

View File

@@ -4,5 +4,6 @@ upstream _gitea_ssh {
server { server {
listen <%= "#{node['openresty']['listen_ip']}:" if node['openresty']['listen_ip'] %>22; listen <%= "#{node['openresty']['listen_ip']}:" if node['openresty']['listen_ip'] %>22;
listen [::]:22;
proxy_pass _gitea_ssh; proxy_pass _gitea_ssh;
} }