From 964f6179a76e487feea25fbb21daba04072d8c6c Mon Sep 17 00:00:00 2001 From: Meow <197331664+Meo597@users.noreply.github.com> Date: Fri, 8 May 2026 04:19:03 +0800 Subject: [PATCH 1/2] Update default xray config fragments --- alpinelinux/install-release.sh | 8 ++++++-- install-release.sh | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/alpinelinux/install-release.sh b/alpinelinux/install-release.sh index 8a7cd02..73df649 100644 --- a/alpinelinux/install-release.sh +++ b/alpinelinux/install-release.sh @@ -168,7 +168,7 @@ install_confdir() { CONFDIR='0' if [ ! -d '/usr/local/etc/xray/' ]; then install -d /usr/local/etc/xray/ - for BASE in 00_log 01_api 02_dns 03_routing 04_policy 05_inbounds 06_outbounds 07_transport 08_stats 09_reverse; do + for BASE in 00_log 01_api 02_dns 03_routing 04_policy 05_inbounds 06_outbounds 07_transport 08_stats 09_fakedns 10_metrics 11_observatory 12_geodata 99_version; do echo '{}' >"/usr/local/etc/xray/$BASE.json" done CONFDIR='1' @@ -217,7 +217,11 @@ information() { echo 'installed: /usr/local/etc/xray/06_outbounds.json' echo 'installed: /usr/local/etc/xray/07_transport.json' echo 'installed: /usr/local/etc/xray/08_stats.json' - echo 'installed: /usr/local/etc/xray/09_reverse.json' + echo 'installed: /usr/local/etc/xray/09_fakedns.json' + echo 'installed: /usr/local/etc/xray/10_metrics.json' + echo 'installed: /usr/local/etc/xray/11_observatory.json' + echo 'installed: /usr/local/etc/xray/12_geodata.json' + echo 'installed: /usr/local/etc/xray/99_version.json' fi if [ "$LOG" -eq '1' ]; then echo 'installed: /var/log/xray/' diff --git a/install-release.sh b/install-release.sh index e78442b..3164d76 100755 --- a/install-release.sh +++ b/install-release.sh @@ -501,7 +501,7 @@ install_xray() { # Install Xray configuration file to $JSONS_PATH if [[ -n "$JSONS_PATH" ]] && [[ ! -d "$JSONS_PATH" ]]; then install -d "$JSONS_PATH" - for BASE in 00_log 01_api 02_dns 03_routing 04_policy 05_inbounds 06_outbounds 07_transport 08_stats 09_reverse; do + for BASE in 00_log 01_api 02_dns 03_routing 04_policy 05_inbounds 06_outbounds 07_transport 08_stats 09_fakedns 10_metrics 11_observatory 12_geodata 99_version; do echo '{}' >"${JSONS_PATH}/${BASE}.json" done CONFDIR='1' @@ -928,7 +928,11 @@ main() { echo "installed: ${JSON_PATH}/06_outbounds.json" echo "installed: ${JSON_PATH}/07_transport.json" echo "installed: ${JSON_PATH}/08_stats.json" - echo "installed: ${JSON_PATH}/09_reverse.json" + echo "installed: ${JSON_PATH}/09_fakedns.json" + echo "installed: ${JSON_PATH}/10_metrics.json" + echo "installed: ${JSON_PATH}/11_observatory.json" + echo "installed: ${JSON_PATH}/12_geodata.json" + echo "installed: ${JSON_PATH}/99_version.json" fi if [[ "$LOG" -eq '1' ]]; then echo 'installed: /var/log/xray/' From a88b1d14b85681454b6d83ad8c69e8dd7a2f1d07 Mon Sep 17 00:00:00 2001 From: Meow <197331664+Meo597@users.noreply.github.com> Date: Fri, 8 May 2026 05:50:00 +0800 Subject: [PATCH 2/2] transport --- alpinelinux/install-release.sh | 13 ++++++------- install-release.sh | 13 ++++++------- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/alpinelinux/install-release.sh b/alpinelinux/install-release.sh index 73df649..7e90837 100644 --- a/alpinelinux/install-release.sh +++ b/alpinelinux/install-release.sh @@ -168,7 +168,7 @@ install_confdir() { CONFDIR='0' if [ ! -d '/usr/local/etc/xray/' ]; then install -d /usr/local/etc/xray/ - for BASE in 00_log 01_api 02_dns 03_routing 04_policy 05_inbounds 06_outbounds 07_transport 08_stats 09_fakedns 10_metrics 11_observatory 12_geodata 99_version; do + for BASE in 00_log 01_api 02_dns 03_routing 04_policy 05_inbounds 06_outbounds 07_stats 08_fakedns 09_metrics 10_observatory 11_geodata 99_version; do echo '{}' >"/usr/local/etc/xray/$BASE.json" done CONFDIR='1' @@ -215,12 +215,11 @@ information() { echo 'installed: /usr/local/etc/xray/04_policy.json' echo 'installed: /usr/local/etc/xray/05_inbounds.json' echo 'installed: /usr/local/etc/xray/06_outbounds.json' - echo 'installed: /usr/local/etc/xray/07_transport.json' - echo 'installed: /usr/local/etc/xray/08_stats.json' - echo 'installed: /usr/local/etc/xray/09_fakedns.json' - echo 'installed: /usr/local/etc/xray/10_metrics.json' - echo 'installed: /usr/local/etc/xray/11_observatory.json' - echo 'installed: /usr/local/etc/xray/12_geodata.json' + echo 'installed: /usr/local/etc/xray/07_stats.json' + echo 'installed: /usr/local/etc/xray/08_fakedns.json' + echo 'installed: /usr/local/etc/xray/09_metrics.json' + echo 'installed: /usr/local/etc/xray/10_observatory.json' + echo 'installed: /usr/local/etc/xray/11_geodata.json' echo 'installed: /usr/local/etc/xray/99_version.json' fi if [ "$LOG" -eq '1' ]; then diff --git a/install-release.sh b/install-release.sh index 3164d76..cd00cd8 100755 --- a/install-release.sh +++ b/install-release.sh @@ -501,7 +501,7 @@ install_xray() { # Install Xray configuration file to $JSONS_PATH if [[ -n "$JSONS_PATH" ]] && [[ ! -d "$JSONS_PATH" ]]; then install -d "$JSONS_PATH" - for BASE in 00_log 01_api 02_dns 03_routing 04_policy 05_inbounds 06_outbounds 07_transport 08_stats 09_fakedns 10_metrics 11_observatory 12_geodata 99_version; do + for BASE in 00_log 01_api 02_dns 03_routing 04_policy 05_inbounds 06_outbounds 07_stats 08_fakedns 09_metrics 10_observatory 11_geodata 99_version; do echo '{}' >"${JSONS_PATH}/${BASE}.json" done CONFDIR='1' @@ -926,12 +926,11 @@ main() { echo "installed: ${JSON_PATH}/04_policy.json" echo "installed: ${JSON_PATH}/05_inbounds.json" echo "installed: ${JSON_PATH}/06_outbounds.json" - echo "installed: ${JSON_PATH}/07_transport.json" - echo "installed: ${JSON_PATH}/08_stats.json" - echo "installed: ${JSON_PATH}/09_fakedns.json" - echo "installed: ${JSON_PATH}/10_metrics.json" - echo "installed: ${JSON_PATH}/11_observatory.json" - echo "installed: ${JSON_PATH}/12_geodata.json" + echo "installed: ${JSON_PATH}/07_stats.json" + echo "installed: ${JSON_PATH}/08_fakedns.json" + echo "installed: ${JSON_PATH}/09_metrics.json" + echo "installed: ${JSON_PATH}/10_observatory.json" + echo "installed: ${JSON_PATH}/11_geodata.json" echo "installed: ${JSON_PATH}/99_version.json" fi if [[ "$LOG" -eq '1' ]]; then