0

i am new to Nginx and i want to do simple URL rewrite but i don't know how to do it. I want to my link look like this: **localhost/some/path/to/file** and real link is: **localhost/index.php?url=/some/path/to/file**. Please help.

Shanu k k
  • 1,235
  • 2
  • 18
  • 43
fr33jumper
  • 103
  • 3
  • 13
  • 1
    Possible duplicate of [How to write a url rewrite in nginx?](http://stackoverflow.com/questions/4329316/how-to-write-a-url-rewrite-in-nginx) – Joucks Jan 31 '17 at 10:13
  • Do you have a working PHP configuration? Edit you question and add more details, such as the nginx `server` configuration block. – Richard Smith Jan 31 '17 at 11:32

0 Answers0