Creates listeners under the AG.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# step 5 - configure HTTP listeners for the App Gateway | |
$listener = New-AzApplicationGatewayHttpListener ` | |
-Name "apim-api-listener" ` | |
-Protocol "Https" ` | |
-FrontendIPConfiguration $fipconfig01 ` | |
-FrontendPort $fp01 ` | |
-SslCertificate $cert ` | |
-HostName $gatewayHostname ` | |
-RequireServerNameIndication true | |
$portalListener = New-AzApplicationGatewayHttpListener ` | |
-Name "apim-portal-listener" ` | |
-Protocol "Https" ` | |
-FrontendIPConfiguration $fipconfig01 ` | |
-FrontendPort $fp01 ` | |
-SslCertificate $certPortal ` | |
-HostName $portalHostname ` | |
-RequireServerNameIndication true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment