@@ -254,6 +254,7 @@ backend be_secure_{{$cfgIdx}}
254
254
{{ range $idx, $cfg := $serviceUnit.ServiceAliasConfigs }}
255
255
{{ if and (ne $cfg.Host "") (eq $cfg.TLSTermination "")}}
256
256
{{$cfg.Host}}{{$cfg.Path}} {{$idx}}
257
+ {{$cfg.Host}}{{env "ROUTER_SERVICE_HTTP_PORT" "80"}}{{$cfg.Path}} {{$idx}}
257
258
{{ end }}
258
259
{{ end }}
259
260
{{ end }}
@@ -268,6 +269,7 @@ backend be_secure_{{$cfgIdx}}
268
269
{{ range $idx, $cfg := $serviceUnit.ServiceAliasConfigs }}
269
270
{{ if and (ne $cfg.Host "") (eq $cfg.TLSTermination "edge")}}
270
271
{{$cfg.Host}}{{$cfg.Path}} {{$idx}}
272
+ {{$cfg.Host}}{{env "ROUTER_SERVICE_HTTPS_PORT" "443"}}{{$cfg.Path}} {{$idx}}
271
273
{{ end }}
272
274
{{ end }}
273
275
{{ end }}
@@ -283,6 +285,7 @@ backend be_secure_{{$cfgIdx}}
283
285
{{ range $idx, $cfg := $serviceUnit.ServiceAliasConfigs }}
284
286
{{ if and (ne $cfg.Host "") (and (eq $cfg.TLSTermination "edge") (eq $cfg.InsecureEdgeTerminationPolicy "Allow"))}}
285
287
{{$cfg.Host}}{{$cfg.Path}} {{$idx}}
288
+ {{$cfg.Host}}{{env "ROUTER_SERVICE_HTTP_PORT" "80"}}{{$cfg.Path}} {{$idx}}
286
289
{{ end }}
287
290
{{ end }}
288
291
{{ end }}
@@ -298,6 +301,7 @@ backend be_secure_{{$cfgIdx}}
298
301
{{ range $idx, $cfg := $serviceUnit.ServiceAliasConfigs }}
299
302
{{ if and (ne $cfg.Host "") (and (eq $cfg.TLSTermination "edge") (eq $cfg.InsecureEdgeTerminationPolicy "Redirect"))}}
300
303
{{$cfg.Host}}{{$cfg.Path}} {{$idx}}
304
+ {{$cfg.Host}}{{env "ROUTER_SERVICE_HTTP_PORT" "80"}}{{$cfg.Path}} {{$idx}}
301
305
{{ end }}
302
306
{{ end }}
303
307
{{ end }}
@@ -342,6 +346,7 @@ backend be_secure_{{$cfgIdx}}
342
346
{{ range $idx, $cfg := $serviceUnit.ServiceAliasConfigs }}
343
347
{{ if and (ne $cfg.Host "") (eq $cfg.TLSTermination "reencrypt") }}
344
348
{{$cfg.Host}}{{$cfg.Path}} {{$idx}}
349
+ {{$cfg.Host}}{{env "ROUTER_SERVICE_HTTPS_PORT" "443"}}{{$cfg.Path}} {{$idx}}
345
350
{{ end }}
346
351
{{ end }}
347
352
{{ end }}
0 commit comments