kutt: use port 443

This commit is contained in:
Tom Frenzel 2026-01-04 13:04:41 +01:00
parent be669ffdce
commit 121478d4df
No known key found for this signature in database
GPG Key ID: 02BEE95E635A32FC
3 changed files with 6 additions and 6 deletions

View File

@ -71,4 +71,4 @@ description
msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
echo -e "${TAB}${GATEWAY}${BGN}https://${IP}:3000 or https://<your-Kutt-domain>${CL}"
echo -e "${TAB}${GATEWAY}${BGN}https://${IP} or https://<your-Kutt-domain>${CL}"

View File

@ -8,7 +8,7 @@
"type": "ct",
"updateable": true,
"privileged": false,
"interface_port": 3000,
"interface_port": 443,
"documentation": "https://github.com/thedevs-network/kutt/",
"config_path": "/etc/kutt-data/.env",
"website": "https://kutt.it",
@ -33,7 +33,7 @@
},
"notes": [
{
"text": "Kutt needs so be served with an SSL certificate for its login to work. During install, you will be prompted to choose if you want to have Caddy installed for SSL termination, or if you want to use your own reverse proxy. You can also skip SSL termination during install and configure it later.",
"text": "Kutt needs so be served with an SSL certificate for its login to work. During install, you will be prompted to choose if you want to have Caddy installed for SSL termination or if you want to use your own reverse proxy (in that case point your reverse porxy to port 3000).",
"type": "info"
}
]

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