Questions tagged [amazon-cloudfront]

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

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

Official page

398 questions
0
votes
1 answer

Will using reverse proxy negate the effect of CDN?

Goal: Serve a specific sub directory of a domain from a different CDN (cloudfront in our case). We are thinking of utilizing Nginx as a reverse proxy to achieve this. For example, the following location setting in Nginx, will serve the path…
Suresh
  • 101
  • 1
0
votes
0 answers

Do CNAME mapping of my subdomain to Sendgrid for link branding using Amazon Cloudfront CDN

I want to have link branding with SSL on my domain example.com, so I created sub-domain abc.example.com, I want this abc.example.com to CNAME to sendgrid.net. I have done CNAME mapping but it seems abc.example.com is CNAME for…
0
votes
1 answer

Cloudfront SSL with Subdomain pointing to S3 bucket works, but still redirects to S3 URL

I've set up an S3 Bucket that I want to use as a CDN but with my own subdomain. For example, myfiles.mydomain.com. So, I set up a Cloudfront web distribution that points to the bucket named "myfiles-mydomain-com", added a certificate for…
0
votes
0 answers

How to check AWS cloudfront traffic limit? 504 server error

I have a website that handles ticket selling which opens once a year. Many peoples come to the website at a specific date and time. However, some users received 504 Status Code (Gateway Timeout) from AWS CloudFront .Some users can still register…
0
votes
1 answer

Preserve Cloudfront brotli compression through a nginx reverse_proxy

My question is similar to Nginx reverse-proxy to a cloudfront distribution and preserve gzip compression but especially regarding the new brotli compression algorithm that is supposed to perform better than gzip in some cases My AWS Cloudfront…
0
votes
1 answer

Why CloudFront-Viewer-City is always null?

I have created a CloudFront distribution just for testing purposes. Why is CloudFront-Viewer-Country passed to the origin but CloudFront-Viewer-City is not? Settings I believe these are the two relevant settings:
Alex R
  • 1,063
  • 3
  • 14
  • 29
0
votes
1 answer

Setting up a multi CDN with cloudfront based on location

I am in a bit of a specific situation with what I am trying to achieve Right now I host on cn-north-1 with a CloudFront distribution. I have a Route53 CNAME setup pointing to this distribution on Global AWS The problem I am facing is that the…
NooBskie
  • 105
  • 8
0
votes
1 answer

Nginx proxy_pass multiple redirects issues

I'm having issues with nginx and 302 redirects to files that are behind multiple redirects. so I'm trying to proxy this request and get 502 bad gateway. location /85319 { proxy_pass…
Saimon
  • 1
  • 1
0
votes
1 answer

Filter to only pass specific headers by Nginx reverse proxy

For example here is a list of headers set by the frontend project and send all by default * accept: application/json * accept-encoding: gzip, deflate, br * accept-language: en-GB,en-US;q=0.9,en; * authorization: xxxx * cache-control: no-cache *…
Vincent
  • 103
  • 1
  • 5
0
votes
0 answers

How can I allow users to map their own domain to a subdomain on my Cloudfront site?

So I run a service where a user can create a site and they get their own subdomain. So if a user has site a-site-name their subdomain will be a-site-name.domain.com. Some of the users want to be able to have their own domains instead of the…
0
votes
1 answer

mod_authz_basic and CloudFront (was: mod_authz basic Directory vs. Location with vhosts)

I'm having a problem with using Apache basic authentication. I have a single EC2 server sitting behind an AWS elastic load balancer and CloudFront. I run several domains on the machine. I use Apache basic authentication for access to certain areas,…
philolegein
  • 409
  • 4
  • 12
0
votes
2 answers

Using Cloudfront as a HAProxy backend server using https

I have a CloudFront resource sitting in front of my S3 bucket. It's accessible at — https://.cloudfront.net but if I hit — .cloudfront.net:443 I get a 400 Bad Request. I want to point to CloudFront in my HAProxy configuration, but I can't…
0
votes
1 answer

Cloudfront behaviors with S3, Wordpress backend, and Vue frontend

I'll try to explain my situation and issue as best as I can. Previously I had a wordpress site behind cloudfront. Set up behaviors and that all worked well. Recently I have moved to using my wordpress instance as an api host. I have a Vue build on…
0
votes
1 answer

Second identitcal CloudFront distribution error: CNAMEAlreadyExists

I'm migrating my static website from one AWS account to another. I want to have zero downtime and decided to pull up the whole infrastructure on the second, then just switch the domain name's DNS records to the new hosted zone. The only problem I'm…
Chris
  • 318
  • 1
  • 5
0
votes
0 answers

Amazon Cloudfront - Increase data transfer speed like tiktok

I have been trying to setup CDN using Amazon Cloud front. All configurations are done. But when I compare it with tiktok's CDN, tiktok's CDN is able to transfer 3.2 MB file in just 300 miliseconds. screenshot: tiktok CDN speed While Amazon CDN…
1 2 3
26
27