VPN 2025-07-06
V2Ray/Xray Setup with WebSocket + TLS
Install Xray
bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ installConfig (WebSocket + TLS)
Configure Xray with VLESS protocol over WebSocket, behind Nginx with TLS termination. This provides excellent censorship resistance.
Nginx Config
location /ws {
proxy_pass http://127.0.0.1:10000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
}
#Sudofree#V2Ray/Xray