Advertisement
Guest User

Untitled

a guest
Aug 19th, 2013
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. # nginx configuration
  2.  
  3. index index.php;
  4.  
  5. charset utf-8;
  6.  
  7. error_page 404 /index.php;
  8.  
  9. error_page 403 /index.php;
  10.  
  11. location ~ \.(css|js|jpg|jpeg|png|gif)$ {
  12. }
  13.  
  14. location / {
  15. if (!-e $request_filename){
  16. rewrite ^(.*)$ /index.php?/$1 break;
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement