Skip to main content

Questions tagged [amazon-cloudfront]

Amazon CloudFront is a content delivery network (CDN) offered by Amazon Web Services.

1 vote
1 answer
41 views

Can I use same subdomain to serve both ColudFront, S3 and Apache?

I'm trying to setting up a application on S3 and CloudFront and the frontend application is using Flutter. Frontend I have managed to deployed S3 and CloudFront successfully. Let's say the domain dev....
502_Geek's user avatar
  • 111
0 votes
0 answers
15 views

AWS Cloudfront - headers not thrown from code

I have a static site (Nuxt/Nitro) which has some headers responses (CSP, XSS etc...). I deployed first on Netlify, I got my custom headers thrown by the code. I had to change hosting and deploy on AWS ...
emilie zawadzki's user avatar
0 votes
0 answers
216 views

CloudFront Returns 502

I have configured a CloudFront distribution to point to an application load balancer (ALB). The ALB points to a lambda function. I have configured an A record in Route53 to point to the CloudFront ...
52d6c6af's user avatar
  • 444
0 votes
0 answers
114 views

How to Deploy React App and WordPress on the Same CloudFront Distribution Domain Name with Different Origins and Behaviors?

I'm encountering challenges deploying both a React app and a WordPress site on the same CloudFront Distribution domain name while utilizing different origins and behaviors. Here's my setup: I have a ...
Spiral's user avatar
  • 101
0 votes
1 answer
244 views

Only Https Post requests failing with cloudfront and ec2 instance running nginx reverse proxy

I am running a nodejs server on ec2 on port 3000. In order to connect it to internet, I am running a nginx server to proxy requests from port 80 to 3000. I have a ec2 domain "http://ec2-xxx....
AlwaysHungrie's user avatar
0 votes
1 answer
95 views

After setting CORS, endpoints of web services are not retrieving data

Well, maybe I am not providing enough information to you all. Hope you can help me, give a clue or hint, or guide me how to advance. I have an application that is consuming data from a web service. ...
Kenzo_Gilead's user avatar
0 votes
0 answers
117 views

AWS CloudFront for multiple subdomain

I have CloudFront for example.com & www.example.com with *.example.com wildcard certificate. But now I want to add w.example.com, ww.example.com & wwww.example.com so i have added these new ...
rp346's user avatar
  • 101
0 votes
1 answer
794 views

My Cloudfront distribution is showing access denied despite enabling all public access to the bucket objects

I am using the following CF policy in my S3 bucket: { "Version": "2008-10-17", "Id": "PolicyForCloudFrontPrivateContent", "...
Navdeep Singh's user avatar
0 votes
1 answer
381 views

S3 site in Cloudfront Preflight 302 Error

I have a static s3 website hosted through CloudFront. In it, I make a request that will result in a redirect if the user is not logged in. Preflight then fails because of a 302: Access to fetch at '...
Demian Licht's user avatar
-1 votes
1 answer
171 views

Duplicate wordpress feed url

How to create nginx rules to copy the wordpress feed url. Actually, I want two versions of the feeds, one cached and one not, to simulate AWS Cloudfront cache behaviors. Both urls should function ...
user103373's user avatar
2 votes
0 answers
445 views

Why is CloudFront failing to pass a header from the origin to the client?

I have CloudFront configured with an API Gateway origin. In the application accessed via API Gateway, my application responds to a particular request with a Content-Disposition header so that the data ...
Bill's user avatar
  • 201
2 votes
1 answer
369 views

How Do I Use The <VirtualHost> Directive To Host Multiple Sites Using An EC2 Instance, ELB, And CloudFront?

I've been really struggling with this for the past few days, and I'm at a lost. Here's what's going on. I have an EC2 instance (Amazon Linux 2023) behind an ELB and a CloudFront distribution that I ...
wholelottabob's user avatar
0 votes
0 answers
217 views

Utilising AWS Cloudfront for domain which listens on non-443 port

We have a www.domain.com which resolves to a AWS Load Balancer backed by AWS EC2 Nginx instance. www.domain.com:8888 proxies to a AWS backend web application. www.domain.com:443 serves static html ...
David QC's user avatar
1 vote
0 answers
760 views

AWS CloudFront 404 error on web root only - node.js with express and pug

The Setup I have a web site built on node.js, express.js, and pug.js running on an AMI Linux instance in AWS. I've given the instance an Elastic IP and if I browse directly to the generated DNS record ...
Todd Wilcox's user avatar
  • 2,871
0 votes
1 answer
177 views

Proper Setup for a simple AWS S3 website using CloudFront & Route, with base domain and www subdomain

Which is the better design, and why? (see 2 tables) 1. Here is the configuration of my working website (example.com is the prevent domain) as setup via a Youtube Tutorial... Route53 Cloudfront Dist ...
TheArchitecta's user avatar

15 30 50 per page
1
2 3 4 5
27