2021-03-19 10:37:18 +01:00
2021-03-18 18:37:44 +01:00
2021-03-18 18:37:44 +01:00
2021-03-18 18:37:44 +01:00
2021-03-18 18:37:44 +01:00
2021-03-19 10:37:18 +01:00
2021-03-18 18:37:44 +01:00
2021-03-18 18:37:44 +01:00
2018-05-11 21:25:11 +02:00

curl_sh

A User-Agent based proxy

This nginx configuration will return script.sh if the user-agent contains "curl". In any other case it will act as a reverse-proxy to PROXY_PASS_HOST.

curl_sh does not support HTTPS.

Usage

$ docker build . -t curl_sh
$ docker run -e PROXY_PASS_HOST=http://my_host:1234 --rm curl_sh
Description
No description provided
Readme 47 KiB
Languages
Rust 79.2%
Dockerfile 19.9%
Shell 0.9%