Enable mod_rewrite in Nginx

How to enable mod_rewrite in Nginx?

You need to add the following line to Nginx configuration file:

  location / {
      try_files $uri $uri/ /index.php?q=$request_uri;
   }

Revisions

No comments yet.

Leave a Reply