Serving jekyll generated site

Fernando Perez lists at ruby-forum.com
Fri Feb 26 17:02:30 MSK 2010


> This is my nginx setup:
> 
>         location / {
>                 alias   /var/www/blog/;
>         }
> 
>         location /blog {
>                 root    /var/www;
>                 index   index.html index.htm;
>         }
> 

Your config file is incorrect.

I would do something like:

server {
  listen 80;

  location / {
    root /var/www/blog;
    index index.html index.htm;
  }
}
-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list