# Where is the discourse.conf file?

**URL:** https://meta.discourse.org/t/where-is-the-discourse-conf-file/370705
**Category:** Self-hosting
**Created:** [June 18, 2025, 3:00pm UTC](https://meta.discourse.org/t/where-is-the-discourse-conf-file/370705 "2025-06-18T15:00:48Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![agemo](https://avatars.discourse-cdn.com/v4/letter/a/ac91a4/32.png) [@agemo](https://meta.discourse.org/u/agemo)
#### Post date: [June 18, 2025, 3:32pm UTC](https://meta.discourse.org/t/where-is-the-discourse-conf-file/370705/5 "2025-06-18T15:32:53Z")

</div>

Further to that, I assume if I can do that (install nano and edit .conf) then I should expect during any upgrade it will be overwritten?

I see mention the possible use of replace commands in app.yml file [NGinx.conf File location](https://meta.discourse.org/t/nginx-conf-file-location/322162) to compensate this but I suspect maybe I am comprehending things incorrectly and that is a very old topic where the link to the examples are not working. So may be irrelevant.

---

_[View the full topic](https://meta.discourse.org/t/where-is-the-discourse-conf-file/370705)._
