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
- Host: GitHub
- URL: https://github.com/envov/proxy
- Owner: Envov
- Created: 2022-04-16T14:15:41.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-11-15T07:06:21.000Z (over 3 years ago)
- Last Synced: 2025-10-04T22:14:17.966Z (8 months ago)
- Topics: http-proxy, nginx, node-proxy, proxy
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README

### 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**