Issue Allow PSD files to be accessed

karam

Basic Pleskian
Hello everyone,

There's a problem with NGINX that doesn't allow to access to PSD files.

Based on this article:

It seems we have to revert the wordpress toolkit setting to allow access to sensitive files.

We don't want to do that, but we want to only allow PSD files to be accessed.

Any ideas ?
Thanks
 
Try to modify the domain's nginx config etc/nginx/plesk.conf.d/vhosts/domain.tld.conf with removing PSD related symbols:

Code:
# To remove this rule, revert this security measure on each WordPress installation on this domain
        location ~* ".*\.(?:psd|log|cmd|exe|bat|csh|ini|sh)$" {
                return 403;
        }
 
Back
Top