# Can i use gateway.rocket.chat behind cdn like cloudflare?

**URL:** <https://forums.rocket.chat/t/can-i-use-gateway-rocket-chat-behind-cdn-like-cloudflare/16840>\
**Category:** Development\
**Tags:** android\
**Created:** [May 22, 2023, 4:46am UTC](https://forums.rocket.chat/t/can-i-use-gateway-rocket-chat-behind-cdn-like-cloudflare/16840 "2023-05-22T04:46:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![lester.coyoy](https://avatars.discourse-cdn.com/v4/letter/l/c57346/32.png) [@lester.coyoy](https://forums.rocket.chat/u/lester.coyoy)\
**Post date:** [May 23, 2023, 12:13am UTC](https://forums.rocket.chat/t/can-i-use-gateway-rocket-chat-behind-cdn-like-cloudflare/16840/2 "2023-05-23T00:13:33Z")

</div>

Hi @saeb welcome to RocketChat forum. We have some questions:

Is this for a specific app? Or you want to use our app but not a direct connection between us?

If it’s the first option, I would recommend you could check this thread in the forum:

> [@Notification gateway api](https://forums.rocket.chat/t/notification-gateway-api/13463):
>
> I want to create my own notifications gateway. Looks like code of gateway is not published. Is there any docs on api of gateway? Cant find any

Now if it’s the second option, why would you do that if RC is configured with reverse proxy? But at the end it’s possible, but it’s like adding more workload to your network. Use this guide for it: [https://docs.rocket.chat/deploy/rocket.chat-environment-configuration/configuring-ssl-reverse-proxy](https://docs.rocket.chat/deploy/rocket.chat-environment-configuration/configuring-ssl-reverse-proxy)

Best,

---

_[View the full topic](https://forums.rocket.chat/t/can-i-use-gateway-rocket-chat-behind-cdn-like-cloudflare/16840)._
