Install the Oraami Cloudflare Worker

Connect the Cloudflare account that serves your website, install the managed Worker on its proxied hostname and enable a policy before requests reach your origin.

Updated Oraami Inc

What do I need before connecting?

Sign in as a workspace owner. The enabled website in Oraami must match a public HTTPS hostname in an active Cloudflare zone. That exact hostname needs a proxied A, AAAA or CNAME record. If you protect www.example.com, configure that hostname even if the root domain is already proxied.

Connect the account and confirm the Worker route

  1. In Protection, select Browse integrations. With the Protection filter selected, choose Cloudflare no-code setup and select Open protection setup. If the Worker is already connected, manage its settings directly in Protection.
  2. Select Connect Cloudflare and authorize the account that serves the registered hostname. For a manual connection, select Use API token.
  3. For a manual token, grant Workers Admin on the intended account and Zone Read, DNS Read and Workers Routes Edit on the website’s zone. Enter the token in the connection dialog.
  4. Return to Protection and look for Worker installed. If the installation reports a conflicting Worker route, review the route in Cloudflare before selecting Retry installation.

Where does traffic go?

Requests for the protected hostname reach the Worker before your origin serves the content. A covered request that needs a decision prompts an authenticated HTTPS check with Oraami. The Worker can serve a challenge, return a denial or forward the request to your website.

Put the Worker in front of every cache or route that can serve protected files. Include alternate API paths and the actual download endpoint in the policy if they serve the same content.

When do saved changes take effect?

During incoming traffic the Worker checks for updated settings every 15 seconds. After a temporary configuration outage, a warm Worker can use its last confirmed settings for up to five minutes. Without usable settings it forwards ordinary requests to the origin. With an active policy, a failed decision lookup returns 503 on paths that require a decision.

To stop enforcement while keeping the installation, turn off Enable automatic action and save. Disconnect removes the managed Worker and route.

Common questions

The Worker is installed. Why can visitors still browse?

Installation confirms the route exists. Enable a policy and check which requests it covers. Finding-based actions require a qualifying linked session. Submission limits apply on the exact method and path after the signed session reaches its allowance. Other pages can continue to load.

Do I need to redeploy the managed Worker after each policy edit?

No. The deployed Worker reads saved settings during incoming traffic. Open the Cloudflare connection in Protection to change its Automatic policy.

Related guides