Merge pull request #10 from grooverdan/ticket/11664-listen_port_fix
(#11664) Fix listen_port in template so it isn't ignored
This commit is contained in:
commit
20d3e2fc33
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
server {
|
||||
listen <%= listen_ip %>;
|
||||
listen <%= listen_ip %>:<%= listen_port %>;
|
||||
<% # check to see if ipv6 support exists in the kernel before applying %>
|
||||
<% if ipv6_enable == 'true' && (defined? ipaddress6) %>listen [<%= ipv6_listen_ip %>]:<%= ipv6_listen_port %> default ipv6only=on;<% end %>
|
||||
server_name <%= name %>;
|
||||
|
|
Loading…
Reference in a new issue