I've been developing a website with Codeigniter on my local machine, running an Apache server. I did not realise the production server would be running Nginx. When attempting to run CI, I now run into the problem that those pretty URLs with segments in them do not work. I keep getting a 404 page.
I have no experience with Nginx, but I found a few code snippits via Google that I tried.
I'm in a shared hosting situation, meaning I have limited configuration options. This results in the configuration interface rejecting most of the configuration snippits I've copy-pasted into it in an attempt to get it to work.
So far, I've found out it rejects the keywords server_name, root and include, which seem to appear in every single solution I've found.
As I have little knowledge on the subject, I'm not sure if what I'm trying to do (i.e. get Codeigniter up and running with slash-separated URL parts rather than a query string) is even possible when I'm not able to use the afformentioned keywords.
Is there a 'default' piece of Nginx configuration available for Codeigniter that might help me out here? Or is my situation too limited to even allow for a solution? Should I just ask my host for help?
EDIT: Note that I'm not trying to remove index.php from my URLs to make them more appealing - I'm not at that point yet. This is about URL segments in general - you know, the default behaviour of Codeigniter.