Advertisement
martadinata

ospos rewrite nginxx

Oct 14th, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. # nginx configuration
  2. autoindex off;
  3. location / {
  4. if (!-e $request_filename){
  5. rewrite ^(.*)$ /index.php?/$1 break;
  6. }
  7. }
  8. location /.htaccess {
  9. deny all;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement