Codeigniter Nginx Virtualhost |
[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.
|
Welcome Guest, Not a member yet? Register Sign In |