• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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 Exclude IP Adress in Nginx Webserver

Pamibo

New Pleskian
Hello,
how can I teach the Nginx web server under Plesk Onyx to exclude the IP adress for example 1.2.3.1-1.2.3.255?
Where do I have to enter the IPs to be blocked?
Thanks for help
Paul
 
I am not sure if I fully understand your question. Do you want to block IP addresses and IP ranges to access your websites/server?
 
Yes, thats what I want. To block adresses from China Bots or US Bots for example.
I had a lot of them blocked with htaccess, but now I need to use Nginx and want to do the same
 
Instead of using Nginx you are probably better off using the Plesk Firewall. You can find the Plesk Firewall under Tools & Settings > Security.plesk.png

Also do you have fail2ban running on your server? Fail2ban automatically bans IP address that try to brute force attack your server. A really useful tool! More info on: Protection Against Brute Force Attacks (Fail2Ban)
 
Back
Top