Hi I need to add some custom codes into vhost of each domain for Nginx in ISPconfig, Where should I add it? From below post that I know that it's is a good idea to edit the vhost file directly as it will be lost when making changes in ispconfig setting. https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1751
It is like being quoted above and I previously similarly feel comfortable on creating custom-conf, copying nginx master vhost to it and modify the same so I have a custom one in my server. However, that may not be necessary at all if something like the following can be applied via nginx directives which can be manually added snippet in the options or selectable, if the same has been added to System > Directive Snippets: