I have a location on nginx like this:
location ~* /(images|cache|media|logs|tmp)/.*\.(php|pl|py|jsp|asp|sh|cgi)$ {
return 403;
error_page 403 /403_error.html;
}
I have a php script that combines css
and js
files, and this rule wont return combined css or js file.
Is there a way to ignore this rule for one php file:
/media/plg_jchoptimize/assets2/jscss.php
For all other files I want it to work.