Since the release v3.9.8, to make sure all WordOps users will always use the latest release available, WordOps do not force Nginx configuration update when running
wo updateanymore. So you can safely upgrade to the latest WordOps release without impacting your sites.
Then to update Nginx templates, you can use the command
wo stack upgrade --nginx.
And it’s still possible to customize Nginx configurations, and to keep them after updating templates.
To disable configuration update on a file, you just have to create an empty file with the same name and the extension
For example, if you want to customize the file
/etc/nginx/conf.d/fastcgi.conf, you just have to create an empty file
/etc/nginx/conf.d/fastcgi.conf.custom. This can be done with the command :
If WordOps detect a .custom file, it will create another file with the .orig extension. This way, you will be able to update manually your custom configurations.