This is a shell script to install Xray and configure it
- Nginx: for reverse proxy
- WARP: used to proxy custom requests
- Buy a domain and a VPS.
- Add a DNS record pointing to your VPS server in your domain management panel(such as
v2.yourdomain.com
). - Run the shell script.
bash -c "$(curl -L https://raw.githubusercontent.com/th1nk-er/Xray-script/main/install.sh)"
Quick install: use
-d
to specify your domainYou can also use
-p
to specify the port and-P
to specify the proxy urlbash -c "$(curl -L https://raw.githubusercontent.com/th1nk-er/Xray-script/main/install.sh)" -- -d v2.yourdomain.com