Sign inSign up

ilwx/xray

By ilwx

•Updated over 4 years ago

Image
0

1.5K

ilwx/xray repository overview

run:

$ sudo docker run -d -p 14443:443 --name xray --restart=always -v /docker/xray:/etc/xray ilwx/xray

gen uuid:

$  xray uuid -i "hello"

server config:

{
    "log": {
        "loglevel": "warning"
    },
    "inbounds": [
        {
            "port": 443,
            "protocol": "vless",
            "settings": {
                "clients": [
                    {
                        "id": "xxxxxxxxxxxxxxxxxxx", 
                        "flow": "xtls-rprx-direct",
                        "level": 0,
                        "email": "[email protected]"
                    }
                ],
                "decryption": "none",
                "fallbacks": [
                   
                ]
            },
            "streamSettings": {
                "network": "tcp",
                "security": "xtls",
                "xtlsSettings": {
                    "alpn": [
                        "http/1.1"
                    ],
                    "certificates": [
                        {
                            "certificateFile": "/etc/xray/server.cer", 
                            "keyFile": "/etc/xray/server.key" 
                        }
                    ]
                }
            }
        }
    ],
    "outbounds": [
        {
            "protocol": "freedom"
        }
    ]
}

Tag summary

Content type

Image

Digest

Size

13.2 MB

Last updated

over 4 years ago

docker pull ilwx/xray