Advertisement
Fany_VanDaal

Nastavení directivity na ngix serveru

Mar 12th, 2020
321
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. if (!-e $request_filename) {
  2. set $test P;
  3. }
  4. if ($uri !~ ^/(plesk-stat|webstat|webstat-ssl|ftpstat|anon_ftpstat|awstats-icon|internal-nginx-static-location)) {
  5. set $test "${test}C";
  6. }
  7. if ($test = PC) {
  8. rewrite ^/(.*)$ /index.php?$1;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement