Skip to content

Commit 155d07b

Browse files
author
gilper0x
authored
Update ins-xray.sh
1 parent c60a3c8 commit 155d07b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

xray/ins-xray.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ CERT=$(find $XRAY_DIR -name "*.crt" -o -name "*.pem" -o -name "fullchain.cer" |
500500
KEY=$(find $XRAY_DIR -name "*.key" -o -name "private.key" | head -1)
501501

502502
mkdir -p /etc/stunnel
503+
# convert from xray
503504
if [ -f "$CERT" ] && [ -f "$KEY" ]; then
504505
cat "$CERT" "$KEY" > /etc/stunnel/stunnel.pem
505506
chmod 600 /etc/stunnel/stunnel.pem

0 commit comments

Comments
 (0)