|
|
|
@ -3195,6 +3195,7 @@ func TestCatalog_GatewayServices_TerminatingGateway(t *testing.T) {
|
|
|
|
|
KeyFile: "api/client.key",
|
|
|
|
|
SNI: "my-domain",
|
|
|
|
|
ServiceKind: structs.GatewayServiceKindService,
|
|
|
|
|
AutoHostRewrite: true,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
Service: structs.NewServiceName("db", nil),
|
|
|
|
@ -3204,6 +3205,7 @@ func TestCatalog_GatewayServices_TerminatingGateway(t *testing.T) {
|
|
|
|
|
CertFile: "",
|
|
|
|
|
KeyFile: "",
|
|
|
|
|
ServiceKind: structs.GatewayServiceKindService,
|
|
|
|
|
AutoHostRewrite: true,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
Service: structs.NewServiceName("redis", nil),
|
|
|
|
@ -3214,6 +3216,7 @@ func TestCatalog_GatewayServices_TerminatingGateway(t *testing.T) {
|
|
|
|
|
KeyFile: "client.key",
|
|
|
|
|
SNI: "my-alt-domain",
|
|
|
|
|
FromWildcard: true,
|
|
|
|
|
AutoHostRewrite: true,
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|