简体   繁体   English

具有 EC2 来源的 CloudFront 分布(无 ALB)

[英]CloudFront distribution with EC2 origin (no ALB)

I set up CF distribution with EC2 origin for dynamic content.我为动态内容设置了 EC2 来源的 CF 分发。 When I use the CF URL, it shows me the website, and it's secure, and everything looks okay, which means Get request is working, but I click on some links similar save or next then I got a 403 error.当我使用 CF URL 时,它向我显示了该网站,它是安全的,一切看起来都很好,这意味着 Get 请求正在运行,但我单击了一些类似 save 或 next 的链接,然后我收到了 403 错误。 403错误

EC2 origin need to set as HTTP not https EC2 来源需要设置为 HTTP 而不是 https

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 CDK:将源/行为添加到现有 CloudFront 分配 - CDK: Add origin/behavior to existing CloudFront distribution AWS - SSH 在私有 Su.net 中从 ALB 跳转到 EC2? - AWS - SSH Jump from ALB to EC2 in private Subnet? 具有 S3 源的 CloudFront 分配响应 XML ListBucketResult - CloudFront Distribution with S3 Origin Responds with XML ListBucketResult 无法通过云端和域连接到 EC2 实例 - Unable to connect to EC2 instance via cloudfront and domain 如何在 cloudfront、aws 路由 S3、EC2 - how to route S3, EC2 at cloudfront, aws 如何与 Cloudfront 和 ec2 节点服务器通信? - How can I communicate with Cloudfront and the ec2 node server? Cloudformation 模板 - 具有云端分发的 S3 存储桶网站 - 分发无法访问源 - Cloudformation template - S3 bucket website with cloudfront distribution - distribution can't access origin AWS ELB/ALB http/2 通过 http/2(不是 http/1.1)传递到 EC2 实例 - AWS ELB/ALB http/2 pass thru to EC2 instance via http/2 (not http/1.1) Cloudfront 自定义来源分发返回 502“错误无法满足请求。” 对于某些网址 - Cloudfront custom-origin distribution returns 502 "ERROR The request could not be satisfied." for some URLs api 从 aws s3 cloudfront 到 ec2 的请求 403 错误 - api request 403 error from aws s3 cloudfront to ec2
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM