nginx.htaccess 219 B

1234567891011
  1. location ~* (runtime|application)/{
  2. return 403;
  3. }
  4. location / {
  5. if (!-e $request_filename){
  6. rewrite ^(.*)$ /index.php?s=$1 last; break;
  7. }
  8. }
  9. location ~* ^/(assets|template|uploads)/.*.(php|php5)$ {
  10. deny all;
  11. }