Fernando Perez
February 26, 2010 09:06AM
> 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/.

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Serving jekyll generated site

MikeG February 19, 2010 05:41PM

Re: Serving jekyll generated site

Fernando Perez February 26, 2010 09:06AM

Re: Serving jekyll generated site

Fernando Perez February 26, 2010 09:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 177
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready