File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
articles/security/develop Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ $gwSubnet = New-AzVirtualNetworkSubnetConfig -Name 'appgwsubnet' -AddressPrefix
182
182
183
183
#Assign an address range to be used for the back-end address pool.
184
184
185
- $nicSubnet = New-AzVirtualNetworkSubnetConfig -Name 'appsubnet' -AddressPrefix 10.0.0 .0/24
185
+ $nicSubnet = New-AzVirtualNetworkSubnetConfig -Name 'appsubnet' -AddressPrefix 10.0.2 .0/24
186
186
187
187
#Create a virtual network with the subnets defined in the preceding steps.
188
188
@@ -209,7 +209,7 @@ $fipconfig = New-AzApplicationGatewayFrontendIPConfig -Name 'fip01' -PublicIPAdd
209
209
210
210
#Configure the back-end IP address pool with the IP addresses of the back-end web servers
211
211
212
- $pool = New-AzApplicationGatewayBackendAddressPool -Name 'pool01' -BackendIPAddresses 10.0.0.0
212
+ $pool = New-AzApplicationGatewayBackendAddressPool -Name 'pool01' -BackendIPAddresses 10.0.3.11
213
213
214
214
#Configure the front-end IP port for the public IP endpoint
215
215
@@ -220,6 +220,7 @@ $fp = New-AzApplicationGatewayFrontendPort -Name 'port01' -Port 443
220
220
$passwd = ConvertTo-SecureString "P@ssword!1" -AsPlainText -Force
221
221
$cert = New-AzApplicationGatewaySSLCertificate -Name cert01 -CertificateFile "C:\AAD\Securities\Certificates\sslcert.com.cer" -Password $passwd
222
222
223
+
223
224
#Create the HTTP listener for the application gateway
224
225
225
226
$listener = New-AzApplicationGatewayHttpListener -Name listener01 -Protocol Https -FrontendIPConfiguration $fipconfig -FrontendPort $fp -SSLCertificate $cert
You can’t perform that action at this time.
0 commit comments