Fix missing listen IP for storage proxy
This commit is contained in:
parent
bcaee3bb21
commit
5f7701c288
@ -11,7 +11,7 @@ upstream _<%= @app_name %> {
|
||||
# variables_hash_max_size 2048;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen <%= "#{node['openresty']['listen_ip']}:" if node['openresty']['listen_ip'] %>80;
|
||||
listen [::]:80;
|
||||
server_name <%= @server_name %>;
|
||||
# Redirect to https
|
||||
@ -21,7 +21,7 @@ server {
|
||||
}
|
||||
|
||||
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 %>;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user