Skip to content

Commit f220145

Browse files
authored
Fixed multiple hostnames param for app gateway http listener (Azure#19451)
1 parent 90b99a4 commit f220145

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Network/Network/help/New-AzApplicationGatewayHttpListener.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ This command creates an HTTP listener named Listener01, FirewallPolicy as $firew
6363

6464
### Example 4: Add a HTTPS listener with SSL and HostNames
6565
```powershell
66-
$Listener = New-AzApplicationGatewayHttpListener -Name "Listener01" -Protocol "Https" -FrontendIpConfiguration $FIp01 -FrontendPort $FP01 -SslCertificate $SSLCert01 -HostNames "*.contoso.com,www.microsoft.com"
66+
$Listener = New-AzApplicationGatewayHttpListener -Name "Listener01" -Protocol "Https" -FrontendIpConfiguration $FIp01 -FrontendPort $FP01 -SslCertificate $SSLCert01 -HostNames "*.contoso.com","www.microsoft.com"
6767
```
6868

6969
This command creates an HTTP listener that uses SSL offload and provides the SSL certificate in the $SSLCert01 variable along with two HostNames.

0 commit comments

Comments
 (0)