Nginx and Plesk 17 adjusting config

Hi Support,

In order to get the Defender up and running as it should we had to change our NGINX config.
However we are running on a PLESK server and the NGINX config is generate by PLESK, so if I would make a change in de the config file (/etc/httpd/conf/plesk.conf.d/vhosts/domain.conf) Plesk will sooner or later overwrite/rewrite the config back to the original.
Is the a way to make the change by default in PLESK ?

Extra info: We are running Plesk Version 17.0.17 Update #12

Many thanks in advance