Rewrite in Rust

This commit is contained in:
2021-03-18 18:37:44 +01:00
parent b2125dd4be
commit 1239ee3dad
9 changed files with 1352 additions and 50 deletions

View File

@ -2,9 +2,11 @@ curl\_sh
========
_A User-Agent based proxy_
This nginx configuration will return `script.sh` if the user-agent matches "**curl**".
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
```sh