rewrite for file optimizer not work on NGINX
-
Hi,
I enabled rewrite for file optimizer on NGINX and I added into Additional nginx directives on Plesk these config:
location /_static/ { fastcgi_pass unix:/var/run/fastcgi.sock; include /etc/nginx/fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root/wp-content/plugins/powered-cache/includes/file-optimizer.php; }
But I get error 404 on file resources…why?
O.S. Debian 12
NGINX v1.26.2
Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.