kutt: use port 443

This commit is contained in:
Tom Frenzel
2026-01-04 13:04:41 +01:00
parent be669ffdce
commit 121478d4df
3 changed files with 6 additions and 6 deletions

View File

@@ -20,17 +20,17 @@ ssl_choice=${ssl_choice:-i}
case "${ssl_choice,,}" in
i)
import_local_ip
DEFAULT_HOST="$LOCAL_IP:3000"
DEFAULT_HOST="$LOCAL_IP:443"
msg_info "Confiuring Caddy"
$STD apt install -y caddy
cat <<EOF >/etc/caddy/Caddyfile
:3000 {
:443 {
reverse_proxy localhost:3000
}
EOF
systemctl restart caddy
msg_ok "Installed Caddy"
msg_ok "Configured Caddy"
;;
e)
read -r -p "${TAB3}Enter the hostname you want to use for Kutt (eg. kutt.example.com)" custom_host