• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Nginx block robots

/etc/nginx/plesk.conf.d files are dinamic files...
Yes, but in server section, you can see line like:

include "/var/www/vhosts/system/test.tld/conf/vhost_nginx.conf";

And when you add code from the article in "Additional nginx directives" for your site, it will be added to this included /var/www/vhosts/system/test.tld/conf/vhost_nginx.conf file and loaded in corresponding server section of your site.
 
Yes, but in server section, you can see line like:

include "/var/www/vhosts/system/test.tld/conf/vhost_nginx.conf";

And when you add code from the article in "Additional nginx directives" for your site, it will be added to this included /var/www/vhosts/system/test.tld/conf/vhost_nginx.conf file and loaded in corresponding server section of your site.

Ok but there is no way to do it globally?
for now I do it with apache with an file in /etc/httpd/conf.d with

<Directory "/var/www/vhosts/*/httpdocs">
SetEnvIfNoCase User-Agent "spbot" bad_bot
.....
Deny from env=bad_bot
</Directory>

Do it by apache is worst that by nginx, but need an global solution, not an individual way...
 
But you can add it to "nginx directives" of your service plan and sync all subscriptions with it.
 
But you can add it to "nginx directives" of your service plan and sync all subscriptions with it.

Ok but in our case, we don't use plan as each user have these own limits. If there is no other way, I will try to do it with an script...

Thanks
 
Use something like

# for filename in `find /var/www/vhosts/system/*/conf/ -name vhost_nginx.conf`; do echo $filename; echo "......................" > $filename; echo ''; done
 
Back
Top