mirror of
https://github.com/samuelhbne/server-xray.git
synced 2025-12-17 04:14:40 +03:00
README.md
This commit is contained in:
@@ -70,9 +70,9 @@ server-xray <server-options>
|
|||||||
--ttt <TROJAN-TCP-TLS option> [p=443,]d=domain.com,u=psw[:level[:email]][,f=[fb-host]:fb-port:[fb-path]]
|
--ttt <TROJAN-TCP-TLS option> [p=443,]d=domain.com,u=psw[:level[:email]][,f=[fb-host]:fb-port:[fb-path]]
|
||||||
--tttw <TROJAN-TCP-TLS-WS option> [p=443,]d=domain.com,u=psw[:level[:email]][,f=[fb-host]:fb-port:[fb-path]],w=/webpath
|
--tttw <TROJAN-TCP-TLS-WS option> [p=443,]d=domain.com,u=psw[:level[:email]][,f=[fb-host]:fb-port:[fb-path]],w=/webpath
|
||||||
--ttpw <TROJAN-TCP-PLAIN-WS option> [p=443,]u=psw[:level[:email]][,f=[fb-host]:fb-port:[fb-path]],w=/webpath
|
--ttpw <TROJAN-TCP-PLAIN-WS option> [p=443,]u=psw[:level[:email]][,f=[fb-host]:fb-port:[fb-path]],w=/webpath
|
||||||
--ng-opt <nginx-options> [p=443,]d=domain0.com[,d=domain1.com...]
|
--ng-opt <nginx-options> [p=443,]d=domain0.com[,d=domain1.com][...]
|
||||||
--ng-proxy <nginx-proxy-options> [d=domain0.com,][d=domain1.com...][h=127.0.0.1,]p=port-backend,l=location,n=ws|grpc
|
--ng-proxy <nginx-proxy-options> [d=domain0.com,][d=domain1.com][...][h=127.0.0.1,]p=port-backend,l=location,n=ws|grpc
|
||||||
-u|--user <global-user-options> u=id0[:level[:email]][,u=id1...]
|
-u|--user <global-user-options> u=id0[:level[:email]][,u=id1][...]
|
||||||
-k|--hook <hook-url> [Optional] DDNS update or notifing URL to be hit
|
-k|--hook <hook-url> [Optional] DDNS update or notifing URL to be hit
|
||||||
-r|--request-domain <domain-name> [Optional] Domain name to request for letsencrypt cert
|
-r|--request-domain <domain-name> [Optional] Domain name to request for letsencrypt cert
|
||||||
-c|--cert-path <cert-path-root> [Optional] Reading TLS certs from folder <cert-path-root>/<domain-name>/
|
-c|--cert-path <cert-path-root> [Optional] Reading TLS certs from folder <cert-path-root>/<domain-name>/
|
||||||
@@ -301,7 +301,7 @@ Please replace "amd64" with the arch match the current box accordingly. Other su
|
|||||||
|
|
||||||
### Cross-compile docker image for the platforms with different architecture
|
### Cross-compile docker image for the platforms with different architecture
|
||||||
|
|
||||||
Please refer the [official doc](https://docs.docker.com/engine/reference/commandline/buildx_install/) for docker-buildx installation
|
Please refer the [official doc](https://github.com/docker/buildx) for docker-buildx installation
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker buildx build --platform=linux/arm/v7 -t samuelhbne/server-xray:armv7 -f Dockerfile.arm .
|
docker buildx build --platform=linux/arm/v7 -t samuelhbne/server-xray:armv7 -f Dockerfile.arm .
|
||||||
|
|||||||
6
run.sh
6
run.sh
@@ -20,9 +20,9 @@ usage() {
|
|||||||
echo " --ttpw <TROJAN-TCP-PLAIN-WS option> [p=443,]u=psw[:level[:email]][,f=[fb-host]:fb-port:[fb-path]],w=/webpath"
|
echo " --ttpw <TROJAN-TCP-PLAIN-WS option> [p=443,]u=psw[:level[:email]][,f=[fb-host]:fb-port:[fb-path]],w=/webpath"
|
||||||
# echo " --ssa <Shadowsocks-AEAD option> [port=443,]user=password1:method1[,user=password2:method2]"
|
# echo " --ssa <Shadowsocks-AEAD option> [port=443,]user=password1:method1[,user=password2:method2]"
|
||||||
# echo " --sst <Shadowsocks-TCP option> [port=443,]user=passwd,method=xxxx"
|
# echo " --sst <Shadowsocks-TCP option> [port=443,]user=passwd,method=xxxx"
|
||||||
echo " --ng-opt <nginx-options> [p=443,]d=domain0.com[,d=domain1.com...]"
|
echo " --ng-opt <nginx-options> [p=443,]d=domain0.com[,d=domain1.com][...]"
|
||||||
echo " --ng-proxy <nginx-proxy-options> [d=domain0.com,][d=domain1.com...][h=127.0.0.1,]p=port-backend,l=location,n=ws|grpc"
|
echo " --ng-proxy <nginx-proxy-options> [d=domain0.com,][d=domain1.com][...][h=127.0.0.1,]p=port-backend,l=location,n=ws|grpc"
|
||||||
echo " -u|--user <global-user-options> u=id0[:level[:email]][,u=id1...]"
|
echo " -u|--user <global-user-options> u=id0[:level[:email]][,u=id1][...]"
|
||||||
echo " -k|--hook <hook-url> [Optional] DDNS update or notifing URL to be hit"
|
echo " -k|--hook <hook-url> [Optional] DDNS update or notifing URL to be hit"
|
||||||
echo " -r|--request-domain <domain-name> [Optional] Domain name to request for letsencrypt cert"
|
echo " -r|--request-domain <domain-name> [Optional] Domain name to request for letsencrypt cert"
|
||||||
echo " -c|--cert-path <cert-path-root> [Optional] Reading TLS certs from folder <cert-path-root>/<domain-name>/"
|
echo " -c|--cert-path <cert-path-root> [Optional] Reading TLS certs from folder <cert-path-root>/<domain-name>/"
|
||||||
|
|||||||
Reference in New Issue
Block a user