nginx

2 posts / 0 new
Last post
nginx

Hi, I've setup FlightPath using nginx (which is my preferred web server) and thought I'd share the config here. 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;
}

- Brandon

Fantastic!

I've wanted to give nginx a try, because I've heard that it was better at memory management than Apache.

Thanks for testing and providing the configs. I'm going to link to your post from the documentation pages. If you learn any more tips or tricks for nginx, please feel free to post them, too!

Richard

Log in or register to post comments