# 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:** [2015 年10 月 16 日 12:56 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:** 3

<div class="post-metadata">

作者： ![11122](https://avatars.discourse-cdn.com/v4/letter/1/6a8cbe/32.png) [@11122](https://meta.discourse.org/u/11122)\
发布日期： [2015 年10 月 16 日 13:31 UTC](https://meta.discourse.org/t/ngnix-config-is-not-retained-after-rebuild/34602/3 "2015-10-16T13:31:06Z")

</div>

Yes, thanks very much. This should work. But I have no idea the format the file. What does “from: /listen 80;\s+gzip on;/m” means?

---

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