Skip to content

Commit fc8c998

Browse files
author
gilper0x
authored
Update ins-xray.sh
1 parent 5602501 commit fc8c998

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

xray/ins-xray.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,8 @@ wget -O cek-ssws "https://raw.githubusercontent.com/givps/AutoScriptXray/master/
493493
# xray acces & error log
494494
wget -O xray-log "https://raw.githubusercontent.com/givps/AutoScriptXray/master/xray/xray-log.sh" && chmod +x xray-log
495495

496+
# Auto-detect Xray SSL and convert
497+
XRAY_DIR="/usr/local/etc/xray"
496498
# Cari file SSL Xray
497499
CERT=$(find $XRAY_DIR -name "*.crt" -o -name "*.pem" -o -name "fullchain.cer" | head -1)
498500
KEY=$(find $XRAY_DIR -name "*.key" -o -name "private.key" | head -1)

0 commit comments

Comments
 (0)