Default Azure CDN index.html document

Now I have successfully set up my static website in CDN, Is there a way to indicate that index.html is the default document? This is a 1 page site that I would just like to find in the root url without typing /index.html ..

thanks

+7
source share
3 answers

Based on your previous question , I assume that you have installed a CDN to map to the blob repository. If this is correct, unfortunately, this is not possible today, because Azure Storage does not support the document by default. This is one of the most requested features on the back of Azure - https://feedback.azure.com/forums/217298-storage/suggestions/1180039-support-a-default-blob-for-blob-storage-containers , however it still not completed.

If you want, you can create a suitable website (instead of having this index.html file in the blob repository) and serve this website via CDN. You can find more information about this here: https://azure.microsoft.com/en-in/documentation/articles/cdn-websites-with-cdn/ .

+5

Microsoft . :

  • CDN: Verizon , .
  • -, - / () blobs

Premium CDN Verizon CDN, . " " CDN. "", , cdn.

Rules engine

, :

enter image description here , 5 .

, , IIS URL. Rewrite Module .

  • IIS
  • URL.

, , CDN, , /829292/movies.

enter image description here

CDN Purging. , if, , , .

enter image description here

+4

- Azure

  1. - ""

    Add Static Website

  2. URL-, $web

    .Static endpoint

  3. $web ,

CDN/

  1. CDN /
  2. . "Custom Origin" "Origin Hostname", .

    Custom Origin CDN

  3. Azure 30

0
source

Source: https://habr.com/ru/post/1621254/


All Articles