HUB
Sign inSign up

timotto/boshiod-noquery

By timotto

•Updated over 8 years ago

A redirector for use with https://bosh.io/d/ redirects and JFrog Artifactory

Image
0

50K+

timotto/boshiod-noquery repository overview

⁠Bosh.io/d no-query-params Redirector

This is a redirector for use in between the https://bosh.io/d/ redirector and JFrog Artifactory⁠ allowing to specify the version as first path element.

⁠Motivation

Downloads from https://bosh.io/d/ have the version number specified as query parameter v=((version)). JFrog Artifactory generic remote repositories support propagation of query parameters⁠, but ultimately fail to distinguish downloads of different query parameters, serving the first hit of a base url for all subsequent requests no matter what query parameters are supplied by the client.

⁠Example

Given this redirector is configured with the defaults PORT=8080 and BASE_URL=https://bosh.io/d/ running on localhost, a request to http://localhost:8080/v=123/some/artifact results in a redirect to https://bosh.io/d/some/artifact?v=123.

Tag summary
Recent tags
Content type
Image
Digest
Size
23.3 MB
Last updated
over 8 years ago
docker pull timotto/boshiod-noquery:latest