An open API service indexing awesome lists of open source software.

https://github.com/envov/proxy

Realy Simple Proxy Tools
https://github.com/envov/proxy

http-proxy nginx node-proxy proxy

Last synced: 1 day ago
JSON representation

Realy Simple Proxy Tools

Awesome Lists containing this project

README

          

![iShot2022-04-14_17.03.39.png](https://s2.loli.net/2022/04/14/zREjdyInqBxaFfs.png)

### install
```shell
npm install @envov/proxy -g
```

### 1、Create any file anywhere, for example:
```shell
touch ./proxy.ini
```
### 2、 Simple rules in it

```ini

[:888/typicode]
target=https://jsonplaceholder.typicode.com
# proxy https://jsonplaceholder.typicode.com on http://127.0.0.1:888/typicode

[:999/test]
target=https://jsonplaceholder.typicode.com/posts/1
# proxy https://jsonplaceholder.typicode.com/posts/1 on http://127.0.0.1:999/test

[:888]
target=https://jsonplaceholder.typicode.com/posts/1
# proxy https://jsonplaceholder.typicode.com/posts/1 on http://127.0.0.1:888
```

### 3、proxy
```shell
proxy ./proxy.ini
```

### others
**The weight of the configuration file is:**

* **first:proxy configuration-file.ini**
* **second:proxy.ini file under proxy command directory**
* **third:~/proxy.ini**