Xray-ui - x-ui english translate
10K+
English Translate of x-ui vaxilu in docker version
Supported Architecture :
| Script | Tag | amd64 |
|---|---|---|
| jvdi/xray-ui | latest | ✅ |
Use the official one-click script
curl -sSL https://get.docker.com/ | sh
mkdir xray-ui && cd xray-ui
docker run -itd --network=host \
-v $PWD/db/:/etc/xray-ui/ \
-v $PWD/cert/:/root/cert/ \
--name xray-ui --restart=unless-stopped \
javidi/xray-ui
mkdir xray-ui && cd xray-ui
wget https://raw.githubusercontent.com/jvdi/xray-ui-docker/main/docker-compose.yml
docker compose up -d
This part describe how to enable SSL.
5432110.10.10.10xrayui.example.com and you have set the A recode in cloudflare[email protected]sudo apt update
sudo apt install python3-certbot-nginx
touch /etc/nginx/conf.d/xrayui.conf
Add below to the file. Adjust appropriately to your own situation.
server {
listen 80;
listen [::]:80;
server_name xrayui.example.com;
location / {
proxy_redirect off;
proxy_pass http://127.0.0.1:54321;
proxy_http_version 1.1;
proxy_set_header Host $host;
}
# This part desribe how to reverse websockt proxy
location /xray {
proxy_redirect off;
proxy_pass http://127.0.0.1:10001;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Y-Real-IP $realip_remote_addr;
}
}
nginx -t
certbot --nginx --agree-tos --no-eff-email --email [email protected]
For more details, refer to cerbot
nginx -s reload
sudo certbot renew --dry-run
Note: Default credentials
Username: admin
Password: admin
Content type
Image
Digest
sha256:d044c22a3…
Size
23.8 MB
Last updated
almost 3 years ago
docker pull javidi/xray-ui