> ## Documentation Index
> Fetch the complete documentation index at: https://bunnynet-cb9733c2-support-migration.mintlify.site/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.

<Steps>
  <Step title="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`).

    <Frame>
      <img src="https://mintcdn.com/bunnynet-cb9733c2-support-migration/7nPf1p6kEqFGPtU3/images/cdn/integrations/cms/discourse-add-zone.png?fit=max&auto=format&n=7nPf1p6kEqFGPtU3&q=85&s=b9cf04778ff0fa08810100226958b37c" alt="Creating a Pull Zone for Discourse" width="960" height="159" data-path="images/cdn/integrations/cms/discourse-add-zone.png" />
    </Frame>

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

  <Step title="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.

    <Frame>
      <img src="https://mintcdn.com/bunnynet-cb9733c2-support-migration/7nPf1p6kEqFGPtU3/images/cdn/integrations/cms/discourse-cdn-url.png?fit=max&auto=format&n=7nPf1p6kEqFGPtU3&q=85&s=d47d07b3cf52750dd20d926ca3589490" alt="Setting DISCOURSE_CDN_URL in app.yml" width="989" height="318" data-path="images/cdn/integrations/cms/discourse-cdn-url.png" />
    </Frame>
  </Step>

  <Step title="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](/cdn/verify-configuration).
  </Step>
</Steps>
