-
-
Notifications
You must be signed in to change notification settings - Fork 732
Configure base URL + use source URL from same host #687
Description
Hi there,
In our current implementation of imgproxy (using helm), we're setting IMGPROXY_BASE_URL. We'd like to start serving images from S3 in conjunction with images on a legacy server (which is our current base URL e.g. https://my-legacy-server.com).
The first step of this change would be to remove our base URL configuration, and start passing fully qualified source URLs to imgproxy (e.g. /plain/https://my-legacy-server.com/images/test.jpg). But obviously it's hard to do this without breaking our images between deployments, because you can't have a base URL configured and pass in a fully qualified source URL at the same time.
It would be nice if you could have both at the same time, if the hostname of the source URL matches your base URL. What do you think?