Migrate Gitea SSH stream to openresty

This commit is contained in:
Râu Cao
2023-07-30 12:35:21 +02:00
parent 27bdc1f60d
commit 438ee4ace0
5 changed files with 11 additions and 11 deletions

View File

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