- Plesk for Linux
How to remove all Additional Apache & nginx directives?
For that, there's no command line, but as can be seen in the link below from the documentation, it's possible to manually edit or remove all configuration files from
It's possible to do for example:
echo "" > /var/www/vhosts/system/example.com/conf/vhost.conf
to empty the content of the file for example.com, and then restart web server services (apache and nginx).
Or this to empty the additional directives for all domains in the server:
# for filename in `find /var/www/vhosts/system/*/conf/ -name vhost*.conf`; do echo $filename; echo "" > $filename; echo ''; done