> ## Documentation Index
> Fetch the complete documentation index at: https://bunny.net/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Discourse

> Speed up your Discourse forum with bunny.net CDN for faster page loads and improved performance.

Discourse has built-in CDN support. This guide walks you through pointing it at Bunny CDN.

**1. Create a Pull Zone**

Log in to your [bunny.net dashboard](https://dash.bunny.net) and open the **Add Pull Zone** page. Choose a name for your zone, then set the origin URL to your Discourse forum (for example, `discourse.example.com`).

![Creating a Pull Zone for Discourse](https://mintcdn.com/bunnynet-cb9733c2/1bTPx1eyQm8EK8W3/images/cdn/integrations/cms/discourse-add-zone.png?fit=max\&auto=format\&n=1bTPx1eyQm8EK8W3\&q=85\&s=c575489d17162c3de7f5c2ad18fb67d3)

Select a pricing tier and click **Add Pull Zone**. For more detail, see [How to create your first Pull Zone](/docs/cdn/quickstart.md).

**2. Configure Discourse with your Pull Zone**

Open your `app.yml` configuration file and find the following lines:

```yaml theme={null}
## the origin pull CDN address for this Discourse instance
DISCOURSE_CDN_URL: https://discourse-cdn.example.com
```

If they aren't present, add them below the other `DISCOURSE_` variables. Replace the `DISCOURSE_CDN_URL` value with your Pull Zone hostname.

![Setting DISCOURSE\_CDN\_URL in app.yml](https://mintcdn.com/bunnynet-cb9733c2/1bTPx1eyQm8EK8W3/images/cdn/integrations/cms/discourse-cdn-url.png?fit=max\&auto=format\&n=1bTPx1eyQm8EK8W3\&q=85\&s=762ddfe32e7aece9bad185198cf655af)

**3. Rebuild the Discourse container**

Apply the new configuration by rebuilding the container:

```bash theme={null}
./launcher rebuild app
```

Once the rebuild finishes, your forum is served through Bunny CDN. To confirm everything is working, see [Verify your configuration](/docs/cdn/verify-configuration.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.