A proxy server configured to query web server with digest auth
239
This is a simple proxy server to proxy the request to the target webserver with digest auth using configured environment variables
You can start a container using this image with the environment variables configured
| Variable name | Default value | Description |
|---|---|---|
| TARGET_URL | The target web server address e.g. https://api.example.com:8080 | |
| USERNAME | The username to query the web server | |
| PASSWORD | The password to query the web server | |
| PORT | 3000 | The port digest-proxy listen |
docker run -d -e TARGET_URL='https://api.example.com' -e USERNAME='someuser' -e PASSWORD='password' -e PORT='3000' -p 3000:3000 wizardonmoon/digest-proxy:0.1.0
After the container is started, you can call the proxy server instead of calling the original web server.
For example, if you originally call the web server using the following command
curl --digest --user someuser:password -L 'https://api.example.com/info'
instead, you can call the proxy server using the following command
curl -L 'http://127.0.0.1:3000/info'
Content type
Image
Digest
sha256:87f37ef59…
Size
72.6 MB
Last updated
almost 2 years ago
docker pull wizardonmoon/digest-proxy:0.1.0