Original domain for which the distribution is set up for


Set up an origin:

Origin Domain Name: pre-prod.backend.com
Origin Path: /abc/asset/acme

Cache Behaviour Settings for the distribution:

Path Pattern: /asset/*

I am expecting that when I request


it is reverse proxied to:


Is this possible or do I have to use something more complicated like nginx?

  • Are you asking because you've tried and it's not working, or are you asking if it can be done at all? – ceejayoz Dec 21 '18 at 16:00
  • Both! First attempt I had gateway errors because I hadn't set the correct protocol between acme and backend. Fixed that and now it looks like the behaviour is being ignored as it seems to fallback on my S3 behaviour which has lower precedence. So am I doing something wrong or is this functionality not available? – David Newcomb Dec 21 '18 at 16:20
  • The functionality is definitely available. If this is a recent change, you may need to invalidate the URLs in question (as it may have cached the older S3 behaviors). – ceejayoz Dec 21 '18 at 16:22
  • This is possible to do, as described here: serverfault.com/questions/833360/… – kopelitsa Mar 6 '19 at 12:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.