Nginx Folder Protection Issue

OptimizeCheckouts adds an .htaccess file to it’s protected directory to prevent public access. However, NGINX does not support .htaccess files. This means that you will need to update your NGINX server configuration to prevent public access to files in that directory.

What follows is an example of what you might add to your NGINX configuration, however we highly recommend contacting your web hosting company for assistance with making this change as each hosting environment is different.

location /wp-content/uploads/optimizecheckouts {
deny all;
return 403;
}

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.