v2.6.6
v2.6.6
This commit is contained in:
parent
7c03d7f940
commit
634a22bbb5
4
x-ui.sh
4
x-ui.sh
@ -322,7 +322,9 @@ check_config() {
|
|||||||
if [[ -n "$existing_cert" && -n "$existing_key" ]]; then
|
if [[ -n "$existing_cert" && -n "$existing_key" ]]; then
|
||||||
echo -e "${green}面板已安装证书采用SSL保护${plain}"
|
echo -e "${green}面板已安装证书采用SSL保护${plain}"
|
||||||
echo ""
|
echo ""
|
||||||
echo -e "${green}登录访问面板URL: https://你的域名:${existing_port}${green}${existing_webBasePath}${plain}"
|
local existing_cert=$(/usr/local/x-ui/x-ui setting -getCert true | grep -Eo 'cert: .+' | awk '{print $2}')
|
||||||
|
domain=$(basename "$(dirname "$existing_cert")")
|
||||||
|
echo -e "${green}登录访问面板URL: https://${domain}:${existing_port}${green}${existing_webBasePath}${plain}"
|
||||||
fi
|
fi
|
||||||
echo ""
|
echo ""
|
||||||
if [[ -z "$existing_cert" && -z "$existing_key" ]]; then
|
if [[ -z "$existing_cert" && -z "$existing_key" ]]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user