mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-02-07 15:34:59 +00:00
1.1 KiB
1.1 KiB
php-httpproxy
HTTP(S) proxy implementation with PHP socket
How to works
You <-----> HTTP(S) proxy (Python) <-----> Web hosting (PHP) <-----> On the Web
HTTP proxy over the web hosting!
How to use
- Write a file with filename like
.env
(Linux) orsettings.ini
(Windows). Like this:
[settings]
PORT=5555
SERVER_URL=http://example.org
CA_KEY=ca.key
CA_CERT=ca.crt
CERT_KEY=cert.key
CERT_DIR=certs/
OPENSSL_BINPATH=openssl
CLIENT_ENCODING=utf-8
-
Run
python server.py
and set HTTP(S) proxy in your web browser (e.g. Firefox) -
Test 100MB/S, 1GB/S, 10GB/S download and check the speed (e.g. https://speed.hetzner.de/1GB.bin)
-
Enjoy it
-
(Optional) With Cloudflare, we can expect to accelerate the 4x speed and reduce the network stuck.