Commit 87faed3b authored by Lukáš Lalinský's avatar Lukáš Lalinský

Temporarily remove resolvers

parent c4556974
Pipeline #20485 passed with stage
in 45 seconds
......@@ -186,7 +186,7 @@ backend be_{{$site.Name}}_{{.Name}}
http-request del-header Authorization
{{- end}}
{{- range $i, $server := .Servers}}
{{"\t"}}server-template srv_{{.Name}}_ 100 {{.Host}}:{{.Port}} check resolvers main
{{"\t"}}server-template srv_{{.Name}}_ 100 {{.Host}}:{{.Port}} check
{{- end}}
{{if not $site.AllowHTTP}}{{"\t"}}redirect scheme https code 301 if !{ ssl_fc }{{end}}
{{end}}
......
......@@ -199,7 +199,7 @@ backend be_example_web
http-request set-header X-Forwarded-Proto https if { ssl_fc }
option httpchk GET /_health
http-check expect status 200
server-template srv_srv1_example_com_8080_ 100 srv1.example.com:8080 check resolvers main
server-template srv_srv1_example_com_8080_ 100 srv1.example.com:8080 check
redirect scheme https code 301 if !{ ssl_fc }
backend be_example_api
......@@ -210,7 +210,7 @@ backend be_example_api
http-request set-header X-Forwarded-Proto https if { ssl_fc }
option httpchk GET /_health
http-check expect status 200
server-template srv_srv_api1_example_com_8081_ 100 srv-api1.example.com:8081 check resolvers main
server-template srv_srv_api1_example_com_8081_ 100 srv-api1.example.com:8081 check
redirect scheme https code 301 if !{ ssl_fc }
......@@ -221,7 +221,7 @@ backend be_example2_default
http-request set-header X-Forwarded-Port %[dst_port]
http-request set-header X-Forwarded-Proto https if { ssl_fc }
http-request del-header Authorization
server-template srv_srv1_example2_com_8090_ 100 srv1.example2.com:8090 check resolvers main
server-template srv_srv1_example2_com_8090_ 100 srv1.example2.com:8090 check
`
assertLongStringEqual(t, output, expectedOutput)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment