NewImprovedFixedSecurity

v2.9.20

Send Extra Domains to Your One Click App

A live One Click App can now take extra domains that send visitors to its main domain. Git Docker Compose sites no longer start with open ports on servers with an older Docker Compose. Enterprise API users can read traffic, bandwidth and security data for their Cloudflare Enterprise domains.

🔥 New Features

🆕 Redirect Extra Domains to a One Click App

Before, a One Click App answered only on its own domains. Now you can add redirect domains, such as an old domain or a short one, and visitors who open them land on the app’s main domain.

Who it’s for: Anyone running a One Click App that people reach from more than one domain.

  • On a live app, open Domain, then click Add Redirect Domain under Redirect Domains, enter the domain and click Save.
  • Visitors get a permanent (301) redirect to the main domain, and the rest of the address is kept.
  • Redirect domains appear in the DNS records xCloud asks you to add, Verify My DNS checks them, and the app’s SSL certificate covers them too.
  • A change to redirect domains alone does not restart the app. If your app has several web interfaces, redirect domains send visitors to the one marked Primary.
  • An app can have up to 20 redirect domains.

How to Manage One Click App Domains and Public Endpoints in xCloud

🧑‍💻 For Developers: Public API and MCP

  • One Click App domains: PUT /sites/{uuid}/domains now refuses One Click Apps with a 422 and asks you to change their domains from the app’s Domain page in the dashboard.
  • Enterprise API, Cloudflare Enterprise analytics: three new reads under /api/enterprise/v1.0/addon/cloudflare-enterprise/external-domains/{external_domain_uuid}/:
    • GET /analytics returns traffic and bandwidth totals, a timeline and top breakdowns, with filters such as host, country, status and cache status.
    • GET /security-events returns the requests a Cloudflare security product acted on, with breakdowns and filters.
    • GET /page-shield returns the third-party scripts seen on the domain’s pages.
    • Time windows go up to 30 days back. /analytics and /security-events share a limit of 10 requests a minute per team. The full reference is in the Enterprise API spec.
  • Git Docker Compose ports: on a server with Docker Compose older than 2.24.4, the error suggests setting a host IP for the port in your compose file, for example 127.0.0.1:3000:3000.
  • Enterprise API, bandwidth: bandwidth purchases and auto top-up for enterprise teams now go through. Before, they were refused.

🔒 Security

  • Git Docker Compose sites: on a server with Docker Compose older than 2.24.4, a new Git Docker Compose site that would open a port to the internet now stops before it starts. Before, that port could be reached by server IP, past the server firewall. The error names the port and tells you to update Docker Compose, or to make the port reachable only through your domain.

⚡ Improvements

  • Cloudflare Enterprise: bandwidth use now shows two decimals, for example 85.58 / 100 GB.

🐞 Bug Fixes

  • One Click Apps
    • Moving a Docker One Click App from its demo domain to a live domain no longer fails when the app restarts.
    • After you change a One Click App’s domain, the app now uses the new domain in its own settings, such as its web address. Before, the app could keep using the old domain.
  • Cloudflare Enterprise
    • Page Shield now lists the scripts from every page of your domain, up to 1,000, and only for your domain’s own hostnames.