अद्यतन
कुछ बारीकियों: bucket.name.s3-website-us-east-1.amazonaws.com
:एडब्ल्यूएस क्लाउडफ़्रंट कंसोल में 'मूल प्रोटोकॉल नीति' फ़ील्ड कहां है?
CloudFront वितरण एक S3 स्टेटिक वेबसाइट होस्टिंग endpoint जो तरह दिखता है उपयोग करता है।
यह वास्तविक वेबसाइट पर रीडायरेक्ट करता है।
Origin Protocol Policy (Amazon EC2, Elastic Load Balancing, and Other Custom Origins Only)
The protocol policy that you want CloudFront to use when fetching objects from your origin server.
Important
If your Amazon S3 bucket is configured as a website endpoint, you must specify HTTP Only. Amazon S3 doesn't support HTTPS connections in that configuration.
ऐसा लगता है कि आप केवल HTTP Only
हो सकता है। क्या वो सही है? HTTPS Only
या Match Viewer
निर्दिष्ट करने के लिए कोई कहना नहीं है?
मैं पूछ रहा हूं क्योंकि मैंने ब्लॉग देखे हैं जो इंगित करते हैं कि Match Viewer
संभव है। जैसे
https://simonecarletti.com/blog/2016/08/redirect-domain-https-amazon-cloudfront/
https://karelledru.com/2016/06/static-site-hosting-on-S3-and-CloudFront/
This link कहते
The value of the Origin Protocol Policy field in the CloudFront console or,
if you're using the CloudFront API, the OriginProtocolPolicy element in the
DistributionConfig complex type. In the CloudFront console, the options are
HTTP Only, HTTPS Only, and Match Viewer.
लेकिन मैं कंसोल में एक Origin Protocol Policy
क्षेत्र नहीं दिख रहा।
यह मार्गदर्शिका https://simonecarletti.com/blog/2016/08/redirect-domain-https-amazon-cloudfront/ एस व्यूअर के लिए एक विकल्प के रूप में मैच व्यूअर दिखाती है। – Snowcrash
धन्यवाद। अपडेट किया गया। –
इसलिए, ऐसा लगता है कि क्लाउडफ्रंट वितरण के लिए केवल HTTPS या मैच व्यूअर होना संभव नहीं है जो 'S3 स्थैतिक वेबसाइट होस्टिंग एंडपॉइंट 'का उपयोग करता है, भले ही यह' कस्टम मूल 'है ...? – Snowcrash