Skip to content

Commit 2a58c19

Browse files
authored
Merge pull request #81 from Azure-Samples/minTlsVersion
Force minimum TLS version to 1.2
2 parents 4109686 + 3367e47 commit 2a58c19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

infra/resources.bicep

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ resource web 'Microsoft.Web/sites@2022-03-01' = {
169169
linuxFxVersion: 'PYTHON|3.11'
170170
ftpsState: 'Disabled'
171171
appCommandLine: 'startup.sh'
172+
minTlsVersion: '1.2'
172173
}
173174
httpsOnly: true
174175
}
@@ -357,6 +358,7 @@ resource redisCache 'Microsoft.Cache/redis@2023-04-01' = {
357358
enableNonSslPort:false
358359
redisVersion:'6'
359360
publicNetworkAccess:'Disabled'
361+
minimumTlsVersion: '1.2'
360362
}
361363
}
362364

0 commit comments

Comments
 (0)