proxy_pass issue
Igor Sysoev
is at rambler-co.ru
Tue Oct 6 17:18:47 MSD 2009
On Tue, Oct 06, 2009 at 03:11:31PM +0200, Stuart Mckeown wrote:
> Igor Sysoev wrote:
> > What is in error_log corresponding to these 404 errors ?
>
> 2009/10/05 13:24:50 [error] 14562#0: *4 open()
> "/usr/local/nginx/html/wp-content/uploads/2009/04/wpshop.jpg" failed (2:
> No such file or directory), client: 78.21.193.90, server: _, request:
> "GET /wp-content/uploads/2009/04/wpshop.jpg HTTP/1.1", host:
> "74.207.242.38", referrer:
> "http://storecrowd.com/blog/wordpress-ecommerce/"
>
> Directory should be /var/www/blog/wp-content/uploads/
>
> I haven't specified in either config file though that anything exists in
> /usr/local/nginx/html which is strange.
>
> Getting Closer :)
"/usr/local/nginx/html' is default root. Probably, you need to set
server {
root /var/www/blog;
...
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list