configure-s3-website icon indicating copy to clipboard operation
configure-s3-website copied to clipboard

Cannot update Origin Protocol Policy or Viewer Protocol Policy

Open wikichen opened this issue 10 years ago • 2 comments

Referencing issue filed in s3_website: https://github.com/laurilehmijoki/s3_website/issues/75

In order to serve an S3 backed site on CF through HTTPS, you need to be able to update both the S3 origin's Origin Protocol Policy (set to HTTP Only) and the CF distro behavior's Viewer Protocol Policy (in the scenario you want to redirect all HTTP traffic to HTTPS).

I'll follow this up with a pull request.

wikichen avatar Mar 12 '14 16:03 wikichen

:+1:

Right now it uses Match Viewer which will create issues cause the origin endpoint is HTTP only.

mattsmith avatar Jun 20 '14 05:06 mattsmith

+1 for this issue, at the moment when I set Viewer Protocol Policy to Redirect HTTP to HTTPS on my CF distro, every time I update it with s3_website cfg apply this option will reverted to HTTP and HTTPS that breaks the intended behavior.

sparanoid avatar Nov 15 '16 03:11 sparanoid