Modify Nginx config: Will it be completely overwritten?

Will Frappe/Bench overwrite changes made to the Nginx config?

Suppose I want to restrict domains to allow them to only be accessed by certain IP addresses. For instance, url-1.com can be accessed by any IP address, but url-2.com can only be accessed by 49.12.12.45 (maybe the client’s office?).

I know you can do that simply in Nginx by defining the server block, however it seems that All the sites are in a single server block that points to frappe-bench/sites.

Could I split these up in the conf.d file to apply site-specific changes in Nginx? Or will Bench overwrite these changes at some point?