Skip to content

Instantly share code, notes, and snippets.

@di97mni
Created May 24, 2020 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save di97mni/3903e4acad9ac809c3282617ea7bbeff to your computer and use it in GitHub Desktop.
Save di97mni/3903e4acad9ac809c3282617ea7bbeff to your computer and use it in GitHub Desktop.
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"webAppName": {
"type": "string"
},
"customDomain": {
"type": "string"
},
"location": {
"type": "string"
},
"certificateThumprint": {
"type": "string"
}
},
"resources": [
{
"type": "Microsoft.Web/sites/hostnameBindings",
"name": "[concat(parameters('webAppName'), '/', parameters('customDomain'))]",
"apiVersion": "2016-03-01",
"location": "[parameters('location')]",
"properties": {
"sslState": "SniEnabled",
"thumbprint": "[parameters('certificateThumprint')]"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment