DISQUS

DISQUS Hello!  The comments on this profile are unclaimed and thus are unverified.

Do they belong to you? Claim these comments.

matthew's picture

Unregistered

Feeds

aliases

  • matthew

matthew

2 years ago

in Обзор Типичных Конфигураций Для Nginx on Homo-Adminus Blog
I'm running nginx with a mongrel process in the background to serve RoR applications, but I'm having trouble getting nginx to serve static HTML pages from the document root. The server passes all requests, regardless of whether there is a directory/file in the document root to mongrel.

For reference, I've uploaded my configuration file to a different server: http://macographie.com/nginx.conf.txt

As you'll see, I have two virtual hosts defined. Eventually, I would like to have both hosts capable of server both RoR applications and static server content.

Thanks in advance for any advice.
Returning? Login