# Ngnix config is not retained after rebuild

**URL:** <https://meta.discourse.org/t/ngnix-config-is-not-retained-after-rebuild/34602>\
**Category:** Self-hosting\
**Created:** [16 Ottobre 2015, 12:56pm UTC](https://meta.discourse.org/t/ngnix-config-is-not-retained-after-rebuild/34602 "2015-10-16T12:56:55Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![11122](https://avatars.discourse-cdn.com/v4/letter/1/6a8cbe/32.png) [@11122](https://meta.discourse.org/u/11122)\
**Post date:** [16 Ottobre 2015, 2:11pm UTC](https://meta.discourse.org/t/ngnix-config-is-not-retained-after-rebuild/34602/5 "2015-10-16T14:11:09Z")

</div>

Thanks, another question: what’s the differents between etc/nginx/conf.d/discourse.conf and etc/nginx/nginx.conf?

---

_[View the full topic](https://meta.discourse.org/t/ngnix-config-is-not-retained-after-rebuild/34602)._
