mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-09-06 01:41:00 +00:00
Update README.md
This commit is contained in:
parent
bcd04211e0
commit
4bf49469b9
16
README.md
16
README.md
|
@ -3,11 +3,25 @@ HTTP proxy implementation with PHP socket
|
||||||
|
|
||||||
## How to works
|
## How to works
|
||||||
```
|
```
|
||||||
You <-----> HTTP proxy (Python) <----> Web hosting (PHP) <-----> On the Web
|
You <-----> HTTP proxy (Python) <-----> Web hosting (PHP) <-----> On the Web
|
||||||
```
|
```
|
||||||
|
|
||||||
HTTP proxy over the web hosting!
|
HTTP proxy over the web hosting!
|
||||||
|
|
||||||
|
## How to use
|
||||||
|
|
||||||
|
1. Write a file with filename like `.env`(Linux) or `settings.ini`(Windows). Like this:
|
||||||
|
|
||||||
|
```
|
||||||
|
[settings]
|
||||||
|
PORT=5555
|
||||||
|
PROXY_URL=http://example.org
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Run `python server.py` and set HTTP proxy in your web browser (e.g. Firefox)
|
||||||
|
|
||||||
|
3. Enjoy it
|
||||||
|
|
||||||
## References
|
## References
|
||||||
* https://github.com/anapeksha/python-proxy-server
|
* https://github.com/anapeksha/python-proxy-server
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user