rewrite for file optimizer not work on NGINX

[ad_1]

Hi @stefacchio,

Please double-check that the paths for location /_static/ are correct. If you’re using Nginx with Apache in proxy mode, you may need to handle rewrites in the .htaccess file rather than in the Nginx configuration. (If I remember correctly, in Plesk environments, Nginx passes dynamic requests to Apache while serving static assets directly.)

But I get error 404 on file resources…why?

This is likely due to a configuration issue, as the setup may differ slightly from standard Plesk settings.

If you don’t feel comfortable adjusting settings, don’t turn on the rewrite option for file optimizer.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer