Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (!-e $request_filename) {
- set $test P;
- }
- if ($uri !~ ^/(plesk-stat|webstat|webstat-ssl|ftpstat|anon_ftpstat|awstats-icon|internal-nginx-static-location)) {
- set $test "${test}C";
- }
- if ($test = PC) {
- rewrite ^/(.*)$ /index.php?$1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement