v2ray-manager
A webpage to manage v2ray
537
A webpage to manage v2ray
Build via Docker Compose, using the Python Flask framework.
Clone this repo.
git clone https://github.com/WilliamPeterMatthew/v2ray-manager.git
Place your config.json in the directory.
Modify or keep the ports in docker-compose.yml file (use docker-compose-prebuild.yml file if you want to use a pre-build version of the image instead of building locally) .
Run the project by executing the following command in the directory.
docker-compose up -d
You can also use a pre-built version of the image instead of building locally.
docker-compose -f docker-compose-prebuild.yml up -d
Now you can access the server on the port you set in Step 3.
You can configure Apache or Nginx to reverse proxy to port 80.
Apache Example
<VirtualHost *:80>
ServerName example.com
ProxyRequests Off
ProxyPreserveHost On
ProxyPass / http://localhost:<the port you set in Step 3>/
ProxyPassReverse / http://localhost:<the port you set in Step 3>/
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Nginx Example
server {
listen 80;
server_name example.com;
location / {
proxy_pass http://localhost:<the port you set in Step 3>;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
error_log /var/log/nginx/sslocal_manager_error.log;
access_log /var/log/nginx/sslocal_manager_access.log;
}
Content type
Image
Digest
sha256:3ead0091b…
Size
41.8 MB
Last updated
6 months ago
docker pull petermatthew/v2ray-manager:alpine3.22.1