Migrate hubot proxies to openresty

This commit is contained in:
Râu Cao
2023-07-26 16:21:03 +02:00
parent 027d0ed570
commit bb2f41fdb3
6 changed files with 21 additions and 32 deletions

View File

@@ -6,7 +6,7 @@ upstream _express_<%= @server_name.gsub(".", "_") %> {
}
server {
listen 443 ssl http2;
listen <%= "#{node['openresty']['listen_ip']}:" if node['openresty']['listen_ip'] %>443 ssl http2;
listen [::]:443 ssl http2;
server_name <%= @server_name %>;