2 Answers
- Newest
- Most votes
- Most comments
0
You can choose to serve HTTPS only or redirect HTTP to HTTPS options as Viewer Protocol Policy. Go to your Distribution -> Edit Behaviour ->Viewer protocol policy-> Select Redirect HTTP to HTTPS or whichever suits your need.
answered 2 years ago
0
And if you want to allow or block certain HTTP method e.g. GET then it depends on your origin. if it is S3 bucket then you can use CORS configuration to allow only certain HTTP methods.
more info and example CORS policy here - https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManageCorsUsing.html#cors-example-2
Let me know if you have any other origin configured.
answered 2 years ago
Relevant content
- asked 2 years ago
- asked 5 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated 2 years ago