This script automates the installation and configuration of a V2ray server with WebSocket (WS) support, Nginx as a reverse proxy, and SSL certification via Certbot.
- A fresh Ubuntu server or a server running Ubuntu 18.04 or later.
- A domain name for your server (needed for SSL certification).
- Root (sudo) access to the server.
- Installs and configures V2ray with WebSocket support.
- Sets up Nginx as a reverse proxy for V2ray.
- Automatically installs SSL using Certbot and configures HTTPS.
- Generates a unique UUID for the V2ray client.
- Provides a V2ray client configuration after setup.
Clone this repository to your server:
git clone https://github.com/sachithdh/automated-v2ray-deploykit.git
cd automated-v2ray-deploykit
Ensure the script is executable:
chmod +x setup
Then, execute the script to start the installation process:
./setup