Files
chef/site-cookbooks/kosmos_gitea/templates/default/nginx_conf_ssh.erb
2026-01-09 13:43:06 +07:00

10 lines
204 B
Plaintext

upstream _gitea_ssh {
server <%= @upstream_host %>:22;
}
server {
listen <%= "#{node['openresty']['listen_ip']}:" if node['openresty']['listen_ip'] %>22;
listen [::]:22;
proxy_pass _gitea_ssh;
}