Samrand Hassan 2 лет назад
Родитель
Сommit
007b2746aa
1 измененных файлов с 20 добавлено и 11 удалено
  1. 20 11
      README.md

+ 20 - 11
README.md

@@ -3,24 +3,33 @@ Install v2ray using docker with compatibility with Cloudflare and other CDNs eas
 -------------------------------------------
 -------------------------------------------
 To prepare your server and set up the infrastructure, follow these steps:
 To prepare your server and set up the infrastructure, follow these steps:
 
 
-1. Configure DNS: Create an A record in your CDN to map your server's IP, ensuring the proxy option is turned off.
+1. **Configure DNS**: Create an A record in your CDN to map your server's IP, ensuring the proxy option is turned off.
 
 
-2. Install Docker: Set up Docker and Docker-compose on your server to facilitate containerization.
+2. **Install Docker**: Set up Docker and Docker-compose on your server to facilitate containerization.
 
 
-3. File Transfer: Copy the "v2ray-nginx-cdn" directory to your server.
+3. **Clone Repository**: Use the following command to clone the "v2ray-nginx-cdn" repository on your server:
+    ```bash
+    git clone https://github.com/samrandhaji/v2ray-nginx-cdn.git
+    ```
 
 
-4. Generate UUID: Utilize the command `cat /proc/sys/kernel/random/uuid` to produce a UUID.
+4. **Generate UUID**: Utilize the command below to produce a UUID:
+    ```bash
+    cat /proc/sys/kernel/random/uuid
+    ```
 
 
-5. Update Configuration: Replace the placeholder "<UPSTREAM-UUID>" in "v2ray/config/config.json" with the generated UUID.
+5. **Update Configuration**: Replace the placeholder "<UPSTREAM-UUID>" in "v2ray/config/config.json" with the generated UUID.
 
 
-6. Customize Settings: Modify "docker-compose.yml" by replacing "YOUR_DOMAIN" with your domain/subdomain and "YOUR_EMAIL" with your email for Let's Encrypt.
+6. **Customize Settings**: Modify "docker-compose.yml" by replacing "YOUR_DOMAIN" with your domain/subdomain and "YOUR_EMAIL" with your email for Let's Encrypt.
 
 
-7. Launch Services: Execute the command `docker-compose up -d` to start the services in detached mode.
+7. **Launch Services**: Execute the following command to start the services in detached mode:
+    ```bash
+    docker-compose up -d
+    ```
 
 
-8. Access Application: Open your web browser and visit your domain/subdomain link to confirm the application is accessible.
+8. **Access Application**: Open your web browser and visit your domain/subdomain link to confirm the application is accessible.
 
 
-9. Adjust CDN Settings: In your CDN, activate the proxy option for the record to enhance the delivery capabilities.
+9. **Adjust CDN Settings**: In your CDN, activate the proxy option for the record to enhance the delivery capabilities.
 
 
-10. Generate Client Configuration: Execute the script "./vmess.py" to create the client configuration, providing a link for access to the associated resources.
+10. **Generate Client Configuration**: Execute the script "./vmess.py" to create the client configuration, providing a link to access the associated resources.
 
 
-By following these steps, you will efficiently set up the server infrastructure and associated services for your configuration.
+By following these steps and the corresponding terminal commands, you will efficiently set up the server infrastructure and associated services for your configuration.