Hey @varhal thanks for your patience while we asked the engineering team to explore this question for us. The best answer we got is that right now this can't be done easily, and definitely not something we can support you to do with our current architecture.
However, if you'd like to request this as a feature, we welcome you to open a GitHub Discussion to share your use case and what you'd need to make this happen.
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).
For further actions, you may consider blocking this person and/or reporting abuse
Any ideas?
Hey @varhal thanks for your patience while we asked the engineering team to explore this question for us. The best answer we got is that right now this can't be done easily, and definitely not something we can support you to do with our current architecture.
However, if you'd like to request this as a feature, we welcome you to open a GitHub Discussion to share your use case and what you'd need to make this happen.
@ellativity is right here, if you look at the forem codebase,
There is a variable called
IMGPROXY_ENDPOINT
but if you set env toproduction
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).