Chuyển tới nội dung chính
Version: 1.X.X

Set a separate domain for HiTechCloud UI

To set separate domain just for the HiTechCloud UI, for example example.com:

  1. Add the domain to Caddyfile
DOMAIN="example.com" && cat << EOF >> "/etc/hitechcloud/caddy/Caddyfile"

# START USERPANEL DOMAIN #
$DOMAIN {
reverse_proxy localhost:2083
}

http://$DOMAIN {
reverse_proxy localhost:2083
}
# END USERPANEL DOMAIN #
EOF
  1. Create an empty file with the domain name so SSL can be generated and renewed:
touch /etc/hitechcloud/caddy/domains/example.com.conf
  1. Restart services
docker restart caddy hitechcloud