I'm new to EE

Is it fine to modify Nginx Config Files on /etc/nginx/ ? What happen after EE update? Will it revert to default value?

ee update won’t revert config files to default.

It’s recommended that you put your nginx conf in /etc/nginx/conf.d instead of /etc/nginx/nginx.conf

Make sure to run nginx -t before reloading new conf.

1 Like

Thanks for the answer. What if important update needs new codes to some of the config? Will it be automatically applied? Like having reuseport nginx 1.9.x.

When we need to update any config files as part of updates, we usually do search/replace. Also easyengine verify if new config is complete and correct before pushing update.

We are planning to improve config management a lot. As search/replace could lead to issues as we can never anticipate what a user can add on their own. Hopefully we will find a workaround soon.

1 Like

Hi @RoldanLT

I hope your query is resolved. I am closing this support topic for now.

Feel free to create a new support topic if you have any queries further. :slight_smile: