Apps

Put your app behind Cloudflare, or take it back out

Serve your app’s Roar address through Cloudflare instead of resolving straight to the server. Body: { "proxied": true } to turn it on, false to turn it off.

It filters bad traffic and is faster for visitors far from where your app is hosted — and slower for visitors in that same region, because their requests take a detour. Colombo pays the most for this; Singapore and Bangalore pay very little.

Only your free *.roarai.app address can be proxied. A domain you own cannot, and neither can a Roar address that one of your own domains points at — turning it on there would send your visitors to an edge that has never heard of your name. Put your own domain behind your own Cloudflare instead, which gives you your own rules. id is a DOMAIN id, from GET /client/services/{id}/domains. Requires apps:deploy.

post/client/domains/{id}/proxied

Request

  • Base URL: https://api.roar-ai.com
  • URL: https://api.roar-ai.com/client/domains/{id}/proxied
  • Auth: HTTP bearer

Path parameters

idstring uuid required

Response

The updated domain

Changes

No recorded changes to this operation across all 1 revision of this API.