Skip to content

Instantly share code, notes, and snippets.

@mdrakiburrahman
Last active June 18, 2023 23:24
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 mdrakiburrahman/3c30a2a601372ce68c2821dfdbcff214 to your computer and use it in GitHub Desktop.
Save mdrakiburrahman/3c30a2a601372ce68c2821dfdbcff214 to your computer and use it in GitHub Desktop.
Website ARM templates
{
"id": "/subscriptions/d4aa0040-6651-443d-a078-728ce72a87ab/resourcegroups/rakirahman.me/providers/Microsoft.Cdn/profiles/rakirahman/endpoints/rakirahman",
"type": "Microsoft.Cdn/profiles/endpoints",
"name": "rakirahman",
"location": "Global",
"tags": {},
"properties": {
"hostName": "rakirahman.azureedge.net",
"originHostHeader": "rakirahman.z9.web.core.windows.net",
"originPath": null,
"contentTypesToCompress": [
"application/eot",
"application/font",
"application/font-sfnt",
"application/javascript",
"application/json",
"application/opentype",
"application/otf",
"application/pkcs7-mime",
"application/truetype",
"application/ttf",
"application/vnd.ms-fontobject",
"application/xhtml+xml",
"application/xml",
"application/xml+rss",
"application/x-font-opentype",
"application/x-font-truetype",
"application/x-font-ttf",
"application/x-httpd-cgi",
"application/x-javascript",
"application/x-mpegurl",
"application/x-opentype",
"application/x-otf",
"application/x-perl",
"application/x-ttf",
"font/eot",
"font/ttf",
"font/otf",
"font/opentype",
"image/svg+xml",
"text/css",
"text/csv",
"text/html",
"text/javascript",
"text/js",
"text/plain",
"text/richtext",
"text/tab-separated-values",
"text/xml",
"text/x-script",
"text/x-component",
"text/x-java-source"
],
"isCompressionEnabled": true,
"isHttpAllowed": true,
"isHttpsAllowed": true,
"queryStringCachingBehavior": "IgnoreQueryString",
"optimizationType": null,
"probePath": null,
"origins": [
{
"name": "rakirahman-z9-web-core-windows-net",
"properties": {
"hostName": "rakirahman.z9.web.core.windows.net",
"httpPort": 80,
"httpsPort": 443
}
}
],
"customDomains": [
{
"name": "www-rakirahman-me",
"properties": {
"hostName": "www.rakirahman.me",
"validationData": null
}
}
],
"geoFilters": [],
"deliveryPolicy": {
"description": "",
"rules": [
{
"name": "EnforceHTTPS",
"order": 1,
"conditions": [
{
"name": "RequestScheme",
"parameters": {
"matchValues": [
"HTTP"
],
"operator": "Equal",
"negateCondition": false,
"transforms": [],
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleRequestSchemeConditionParameters"
}
}
],
"actions": [
{
"name": "UrlRedirect",
"parameters": {
"redirectType": "Found",
"destinationProtocol": "Https",
"customQueryString": null,
"customPath": null,
"customHostname": null,
"customFragment": null,
"@odata.type": "#Microsoft.Azure.Cdn.Models.DeliveryRuleUrlRedirectActionParameters"
}
}
]
}
]
},
"resourceState": "Running",
"provisioningState": "Succeeded"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment