Skip to content

Configure base URL + use source URL from same host #687

@jebax

Description

@jebax

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions