Skip to content

YehudaEi/P-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

P System

Web proxy in pure PHP!

install:

In CloudFlare (or your DNS service), set your desired domain (e.g. domain.com) to + *.domain.com

Create a new apache virtualserver with the config web-proxy.conf (make sure to rename the server and the path of the files)

Start the virtual server.

$ sudo a2ensite web-proxy.conf

Created certbot certificates for the new virtual server

$ sudo certbot certonly --manual --preferred-challenges=dns --server https://acme-v02.api.letsencrypt.org/directory --agree-tos -d domain.com -d *.domain.com

Change the SERVER_BASE_DOMAIN field in include/config.php file

You can also add and modify users in the include/config.php file

Feel free to enjoy your web proxy 😁

p.s.

I would be very happy if you could star this project so that more people would enjoy it 👼