# # Cookbook:: kosmos_gitea # Recipe:: nginx_ssh # template "#{node['nginx']['dir']}/streams-available/ssh" do source "nginx_conf_ssh.erb" owner 'www-data' mode 0640 variables domain: domain, upstream_host: upstream_ip_address notifies :reload, 'service[nginx]', :delayed end nginx_stream "ssh" do action :enable end