# Staging/Test server ignored the environment variable

**URL:** https://meta.discourse.org/t/staging-test-server-ignored-the-environment-variable/390085
**Category:** Self-hosting
**Created:** [December 1, 2025, 6:48pm UTC](https://meta.discourse.org/t/staging-test-server-ignored-the-environment-variable/390085 "2025-12-01T18:48:21Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![jimmy0017](https://avatars.discourse-cdn.com/v4/letter/j/76d3ee/32.png) [@jimmy0017](https://meta.discourse.org/u/jimmy0017)
#### Post date: [December 1, 2025, 7:59pm UTC](https://meta.discourse.org/t/staging-test-server-ignored-the-environment-variable/390085/3 "2025-12-01T19:59:20Z")

</div>

Thanks for the solution.

I also just updated the Wiki here:

> [@Set up a staging server](https://meta.discourse.org/t/set-up-a-staging-server/225951):
>
> There are several tricks that can help when you are setting up a staging server. What is a staging server? A staging server is essentially a clone of a production site. It also resides on a server, and functions identically. It runs inside a Docker container, just as a normal Discourse site does. It exists to give you a place to try risky things out, or to trial things that you cannot easily hide from your users. It is very useful for trialling adverts using the [Discourse Advertising Plugin (A…](https://meta.discourse.org/t/official-advertising-ad-plugin-for-discourse/33734)

It was still referring to the old method.

---

_[View the full topic](https://meta.discourse.org/t/staging-test-server-ignored-the-environment-variable/390085)._
