Update OneClickDesktop_zh-CN.sh

This commit is contained in:
York Zhao 2024-07-23 19:46:58 +08:00 committed by GitHub
parent 8602c0b193
commit 0c6081b800
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -832,11 +832,11 @@ function install_reverse_proxy
# TLS options
email $le_email
}
$guacamole_hostname {
}
$guacamole_hostname {
reverse_proxy localhost:8080/guacamole
}
}
END
systemctl start caddy
echo
@ -845,21 +845,21 @@ END
say @B"开始使用您的远程桌面,请在浏览器中访问 https://${guacamole_hostname}!" green
else
say "Let's Encrypt SSL证书安装失败。" red
say @B"请查看caddy 日志,位于/etc/caddy/caddy.log" yellow
say @B"请查看caddy 日志" yellow
say @B"开始使用您的远程桌面,请在浏览器中访问 http://${guacamole_hostname}!" green
fi
else
cat > /etc/caddy/Caddyfile << END
{
{
# TLS options
email $le_email
auto_https off
}
$guacamole_hostname {
reverse_proxy localhost:8080/guacamole
}
$guacamole_hostname {
reverse_proxy localhost:8080/guacamole
}
}
END
say @B"Let's Encrypt证书未安装如果您之后需要安装Let's Encrypt证书请手动更改Caddyfile位于/etc/caddy/Caddyfile" yellow
say @B"开始使用您的远程桌面,请在浏览器中访问 http://${guacamole_hostname}!" green