Skip to content

Commit

Permalink
Fix: Duplicate http2 directive
Browse files Browse the repository at this point in the history
  • Loading branch information
fatk committed Nov 20, 2023
1 parent c405baf commit 45d2cf9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions nginx-proxy/volumes/docker-gen/templates/nginx.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ server {
http2 on;
{{ if $enable_ipv6 }}
listen [::]:443 ssl deferred;
http2 on;
{{ end }}
access_log /dev/stdout vhost;
return 503;
Expand Down Expand Up @@ -217,7 +216,6 @@ server {
http2 on;
{{ if $enable_ipv6 }}
listen [::]:443 ssl {{ $default_server }};
http2 on;
{{ end }}
access_log /dev/stdout vhost;

Expand Down Expand Up @@ -315,7 +313,6 @@ server {
http2 on;
{{ if $enable_ipv6 }}
listen [::]:443 ssl {{ $default_server }};
http2 on;
{{ end }}
access_log /dev/stdout vhost;

Expand Down Expand Up @@ -406,7 +403,6 @@ server {
http2 on;
{{ if $enable_ipv6 }}
listen [::]:443 ssl {{ $default_server }};
http2 on;
{{ end }}
access_log /dev/stdout vhost;
return 500;
Expand Down

0 comments on commit 45d2cf9

Please sign in to comment.