Skip to content

Commit 509be09

Browse files
authored
Merge pull request #102923 from souravmishra-msft/patch-15
(AzureCXP) fixes MicrosoftDocs/azure-docs#47012
2 parents a4e4737 + aedf69a commit 509be09

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

articles/security/develop/secure-aad-app.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ $gwSubnet = New-AzVirtualNetworkSubnetConfig -Name 'appgwsubnet' -AddressPrefix
182182
183183
#Assign an address range to be used for the back-end address pool.
184184
185-
$nicSubnet = New-AzVirtualNetworkSubnetConfig -Name 'appsubnet' -AddressPrefix 10.0.0.0/24
185+
$nicSubnet = New-AzVirtualNetworkSubnetConfig -Name 'appsubnet' -AddressPrefix 10.0.2.0/24
186186
187187
#Create a virtual network with the subnets defined in the preceding steps.
188188
@@ -209,7 +209,7 @@ $fipconfig = New-AzApplicationGatewayFrontendIPConfig -Name 'fip01' -PublicIPAdd
209209
210210
#Configure the back-end IP address pool with the IP addresses of the back-end web servers
211211
212-
$pool = New-AzApplicationGatewayBackendAddressPool -Name 'pool01' -BackendIPAddresses 10.0.0.0
212+
$pool = New-AzApplicationGatewayBackendAddressPool -Name 'pool01' -BackendIPAddresses 10.0.3.11
213213
214214
#Configure the front-end IP port for the public IP endpoint
215215
@@ -220,6 +220,7 @@ $fp = New-AzApplicationGatewayFrontendPort -Name 'port01' -Port 443
220220
$passwd = ConvertTo-SecureString "P@ssword!1" -AsPlainText -Force
221221
$cert = New-AzApplicationGatewaySSLCertificate -Name cert01 -CertificateFile "C:\AAD\Securities\Certificates\sslcert.com.cer" -Password $passwd
222222
223+
223224
#Create the HTTP listener for the application gateway
224225
225226
$listener = New-AzApplicationGatewayHttpListener -Name listener01 -Protocol Https -FrontendIPConfiguration $fipconfig -FrontendPort $fp -SSLCertificate $cert

0 commit comments

Comments
 (0)