Initial Commit

This commit is contained in:
2018-05-11 21:25:11 +02:00
commit b2125dd4be
5 changed files with 73 additions and 0 deletions

13
README.md Normal file
View File

@ -0,0 +1,13 @@
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
```sh
$ docker build . -t curl_sh
$ docker run -e PROXY_PASS_HOST=http://my_host:1234 --rm curl_sh
```