Nginx config |
[eluser]kezman[/eluser]
Hey everyone! I have Apache on my local site. I have Nginx on my live site. I have Apache .htaccess Code: <IfModule mod_rewrite.c> How should I configure nginx? Now my live site works only for http://example.com/. Other URLs like http://example.com/abc/def/1 produce "nginx - not found" error.
[eluser]CroNiX[/eluser]
Did you create a config file for nginx for your project? If you google "nginx+codeigniter" you will find some to try out.
[eluser]Abel A.[/eluser]
Here's my nginx config Code: server { The CI stuff is just in the location segment, the rest is standard. |
Welcome Guest, Not a member yet? Register Sign In |