Taito type x frontend setup
To restrict access to the origin, enter a random or secret value that only you know. Under Add custom header, choose Add header.įor Value, enter a customer header value that you want to forward to the origin (S3 bucket). The dropdown list includes only the S3 Bucket REST API endpoints that aren't used in this configuration. Note: Don't select the bucket from the dropdown list. Important: Be sure to evaluate whether the access allowed by this setup meets the requirements of your use case.įor Origin domain, enter the endpoint that you copied in step 2. This configuration restricts access by setting up a custom Referer header on the distribution, and then uses a bucket policy to allow access only for requests with the custom Referer header. Using a website endpoint as the origin, with access restricted by a Referer header If you aren't using a custom domain, then you can still use HTTPS with the domain name for your distribution. You can choose Request certificate to request a new certificate. To use a custom domain with HTTPS, select Custom SSL certificate.
![taito type x frontend setup taito type x frontend setup](https://i0.wp.com/pds.exblog.jp/pds/1/201509/24/42/c0323442_18270391.jpg)
Wait for your DNS changes to propagate and for the previous DNS entries to expire.You can find your distribution's domain name in the CloudFront console in a format that's similar to.
TAITO TYPE X FRONTEND SETUP UPDATE
Update the DNS records for your domain to point your website's CNAME to your CloudFront distribution's domain name.To troubleshoot issues with your SSL certificate, see How can I troubleshoot issues with using a custom SSL certificate for my CloudFront distribution? Important: If you entered Alternate domain names (CNAMEs) for your distribution, then the CNAMEs must match the SSL certificate that you select.
![taito type x frontend setup taito type x frontend setup](https://i.ytimg.com/vi/8j-9U_KXGdA/hq720.jpg)
If you aren't using a custom domain, you can still use HTTPS with the domain name for your distribution. Then, enter the OAI name and choose Create.įor Bucket policy, select Yes, update the bucket policy. In addition to the distribution settings that you need for your use case, enter the following:įor Origin domain, select the bucket that you created.įor S3 bucket access, select Yes use OAI (bucket can restrict access to only CloudFront).įor Origin access identity, select Create new OAI. This configuration uses the REST API endpoint of the bucket instead of the website endpoint from the static website hosting feature. Note: You don't need to enable static website hosting on your bucket for this configuration. Use the Amazon S3 console to create a bucket and to upload your website files.