• 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.

Issue php file downloading instead of executing when using deny access

elaa

Basic Pleskian
I am denying access website only from one IP Address, so I add this code in PLESK Domains > example.com >

Apache & nginx Settings. in the Additional nginx directives section I added this code and my ip address

Code:
    location ^~ /ctst {
    allow 203.0.113.2;
    deny all;
    }

but this only denied access to /ctst but all other files inside /ctst are not denied
 
Last edited:
Code:
location /file.php {
    if ($remote_addr !~ "^10\.10\.10\.10$"){
        rewrite ^ https://google.com/ ;
    }
    allow all;
}

Anyone found a solution to the error today?
 
Back
Top