For those of us coming from the Apache world, getting a working Nginx virtualhost configured for Rails can be quite the headache. It's actually pretty simple once you know what's going on. After installing nginx and passenger-phusion for nginx, all you need is the following (Note: the location portion of the config is for setting resource expiration to 1 month. You may need to adjust this based on your needs):
No comments:
Post a Comment