Explorar el Código

Merge pull request #1931 from rhansen/http-port

Fix IPv6 HTTP listen port
Nicolas Duchon hace 3 años
padre
commit
d851908c67
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      nginx.tmpl

+ 1 - 1
nginx.tmpl

@@ -420,7 +420,7 @@ server {
 	{{ end }}
 	listen {{ $external_http_port }} {{ $default_server }};
 	{{ if $enable_ipv6 }}
-	listen [::]:80 {{ $default_server }};
+	listen [::]:{{ $external_http_port }} {{ $default_server }};
 	{{ end }}
 	{{ $access_log }}