Files
curl_sh/README.md
2018-05-11 21:25:11 +02:00

319 B

curl_sh

A User-Agent based proxy

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

Usage

$ docker build . -t curl_sh
$ docker run -e PROXY_PASS_HOST=http://my_host:1234 --rm curl_sh