ソースを参照

Merge pull request #1022 from mouhamed/patch-1

Remove duplicate
Jason Wilder 7 年 前
コミット
3fab237f34
1 ファイル変更0 行追加3 行削除
  1. 0 3
      nginx.tmpl

+ 0 - 3
nginx.tmpl

@@ -152,9 +152,6 @@ upstream {{ $upstream_name }} {
 {{/* Get the NETWORK_ACCESS defined by containers w/ the same vhost, falling back to "external" */}}
 {{ $network_tag := or (first (groupByKeys $containers "Env.NETWORK_ACCESS")) "external" }}
 
-{{/* Get the NETWORK_ACCESS defined by containers w/ the same vhost, falling back to "external" */}}
-{{ $network_tag := or (first (groupByKeys $containers "Env.NETWORK_ACCESS")) "external" }}
-
 {{/* Get the HTTPS_METHOD defined by containers w/ the same vhost, falling back to "redirect" */}}
 {{ $https_method := or (first (groupByKeys $containers "Env.HTTPS_METHOD")) "redirect" }}