Nginx configs for Clean URLs

While all development work has been done using Apache (FlightPath includes a .htaccess file which enables Clean URLs for Apache users), many users prefer Nginx as their web server of choice.

According to user feedback, the following configuration will work for Nginx and FlightPath's Clean URLs:

The following would go in the server block and is needed to get the clean urls to work:

location /flightpath {
    try_files $uri $uri/ @flightpath;
}

location @flightpath {
    rewrite ^/flightpath/(.*) /flightpath/index.php?q=$1;
}