A Script for configuration of v2ray and apache on CentOS and Ubuntu. Break the evil GFW
This script is used on CentOS 7 and Ubuntu 18.04. Posted from 品葱, and you can find some more specific steps there.
Due to some unpredicted problem, there has been a problem configuring the script on Ubuntu server. Only tested on Centos/Fedora
- Complete the bonding of your domain name and VPS IP address on CloudFlare
- Configure the SSL files (.pem and .key files) on your VPS
Note: To run this script you must be the root user
git clone https://github.com/KonaisPC/v2ray-apache-ws.git
cd v2ray-apache-ws
bash v2ray-apache.sh
The script will automatically generate the corresponding client configure json file at ./client.json. You could copy this file's contents to your client's v2ray configure file and enjoy!