# Are NGINX rules transferred to and from DevKinsta?

**URL:** https://community.kinsta.com/t/are-nginx-rules-transferred-to-and-from-devkinsta/366
**Category:** Application Support
**Created:** [February 14, 2021, 10:23pm UTC](https://community.kinsta.com/t/are-nginx-rules-transferred-to-and-from-devkinsta/366 "2021-02-14T22:23:58Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![jeff](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/jeff/32/16_2.png) [@jeff](https://community.kinsta.com/u/jeff)
#### Post date: [February 15, 2021, 9:03pm UTC](https://community.kinsta.com/t/are-nginx-rules-transferred-to-and-from-devkinsta/366/7 "2021-02-15T21:03:53Z")

</div>

I just tested locally and it does seem that restarting the Nginx container wipes the configuration. I wasn’t sure if this would happen and assumed it would not.

Since this is the default behavior, I would recommend putting in a [feature request here](https://community.kinsta.com/c/feature-requests/6) for the ability to upload custom nginx rules from DevKinsta that will stick on restarts so our developers can review that for future releases.

In the meantime, I did find a workaround but it means you have to insert the data any time you restart DevKinsta or the Nginx docker container.

My fix was to edit the file, then, instead of restarting the container, run this command and exit the terminal window.

> nginx -s reload

---

_[View the full topic](https://community.kinsta.com/t/are-nginx-rules-transferred-to-and-from-devkinsta/366)._
