Forem Creators and Builders 🌱

Discussion on: Amazon S3 with CloudFront custom domain

Collapse
 
pandeybk profile image
Balkrishna Pandey • Edited

@ellativity is right here, if you look at the forem codebase,

There is a variable called IMGPROXY_ENDPOINT but if you set env to production it will seek for a /image context on the same domain where the forem is deployed. I found this hardway. I was trying to use the aws cdn, but because of this limitation I was not able to do it.

The way I am doing it right now is, deploy image proxy and set ingress path /image and use nginx ingress controller (I am using kubernetes so if you are not familiar with ingress concept, its a nginx reverse proxy controller support k8s ingress rule out of box).