Codeigniter Nginx Virtualhost - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Codeigniter Nginx Virtualhost (/showthread.php?tid=60133) |
Codeigniter Nginx Virtualhost - El Forum - 01-21-2014 [eluser]Refringe[/eluser] Hey everyone, I'd like to share a Codeigniter Nginx virtualhost I've been using for the past 6 months now: https://gist.github.com/refringe/8551198 It's been working incredibly well, so feel free to make use of it if you'd like. ========== I'm having an issue adding a simple redirect to it. Trying to get requests for "/sitemap.xml" to route to "/index.php/cms/sitemap". I thought something simple like the location block below would work, but I keep getting the PHP 404 error page instead of the "/index.php/cms/sitemap" content. Code: location = /sitemap.xml { I've been trying to wrap my head around it for a while now, so any help would be appreciated. Codeigniter Nginx Virtualhost - El Forum - 01-22-2014 [eluser]InsiteFX[/eluser] Try SimleXML |