Skip to content

Support HTTPS// rewrites like apt-cacher-ng does #57

Description

@afbjorklund

When using apt-cacher-ng, it is possible to cache https directories by doing a rewrite:

https://www.unix-ag.uni-kl.de/~bloch/acng/html/howtos.html#ssluse

The "tell-me-what-you-need method": on the client side, modify the access URLs and change https to http and put the string "HTTPS///" between http:// and the host name. With this trick, the user client will access the proxy like going for a usual HTTP download and the proxy will access the remote URL with the https protocol. Caching (and file merging to repositories) will work and there is still enough flexibility for the users.

Currently it isn't recognized, and you just get a unsupported protocol scheme "" error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions