# Site goes down at the same time every day in memory-constrained environment

**URL:** <https://meta.discourse.org/t/site-goes-down-at-the-same-time-every-day-in-memory-constrained-environment/76358>\
**Category:** Support\
**Created:** [December 18, 2017, 10:57pm UTC](https://meta.discourse.org/t/site-goes-down-at-the-same-time-every-day-in-memory-constrained-environment/76358 "2017-12-18T22:57:22Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [December 19, 2017, 12:35am UTC](https://meta.discourse.org/t/site-goes-down-at-the-same-time-every-day-in-memory-constrained-environment/76358/14 "2017-12-19T00:35:42Z")

</div>

You need to run a replace command in the internal NGINX.

After making the changes, look at the actual file on disk to confirm that you got what you wanted.

A trick I use is:

1. ./launcher enter app
2. cd `/etc/nginx/conf.d/`
3. edit the discourse.conf file
4. sv restart nginx
5. see that my desired effect was achieved
6. turn that change into a yml `replace` command
7. rebuild
8. confirm file is good

---

_[View the full topic](https://meta.discourse.org/t/site-goes-down-at-the-same-time-every-day-in-memory-constrained-environment/76358)._
