1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-04-16 18:51:01 +00:00

Merge pull request #1931 from rhansen/http-port

Fix IPv6 HTTP listen port
This commit is contained in:
Nicolas Duchon 2022-03-23 16:37:47 +01:00 committed by GitHub
commit d851908c67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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