A minimalist, private web proxy script written in PHP code.
To run the project locally, you need to have PHP installed on your machine. The required PHP version is 7.4 or higher. Additionally, you need to have the cURL extension enabled.
-
Clone the repository:
git clone https://github.com/heiswayi/web-proxy-script.git cd web-proxy-script
-
Start the PHP built-in web server:
php -S localhost:8000
-
Open your web browser and navigate to
http://localhost:8000/proxy.php
.
To build and run the Docker container, follow these steps:
-
Build the Docker image:
docker build -t web-proxy-script .
-
Run the Docker container:
docker run -p 80:80 web-proxy-script
-
Open your web browser and navigate to
http://localhost/proxy.php
.