20 messages in ru.sysoev.nginxRe: Problem with nginx config proxyin...
FromSent OnAttachments
Saimon MooreNov 14, 2006 1:44 am 
Aleksandar LazicNov 14, 2006 4:02 am 
Igor SysoevNov 14, 2006 4:06 am 
Igor SysoevNov 14, 2006 4:07 am 
Saimon MooreNov 14, 2006 4:14 am 
Aleksandar LazicNov 14, 2006 4:21 am 
Aleksandar LazicNov 14, 2006 4:23 am 
Saimon MooreNov 14, 2006 4:29 am 
Aleksandar LazicNov 14, 2006 4:33 am 
Igor SysoevNov 14, 2006 4:37 am 
Saimon MooreNov 14, 2006 4:40 am 
Saimon MooreNov 14, 2006 4:41 am 
Saimon MooreNov 14, 2006 4:44 am 
Aleksandar LazicNov 14, 2006 4:48 am 
Saimon MooreNov 14, 2006 4:49 am 
Igor SysoevNov 14, 2006 4:51 am 
Saimon MooreNov 14, 2006 4:51 am 
Saimon MooreNov 14, 2006 4:53 am 
Igor SysoevNov 14, 2006 4:57 am 
Saimon MooreNov 14, 2006 9:13 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Problem with nginx config proxying to mongrelActions...
From:Saimon Moore (saim@public.gmane.org)
Date:Nov 14, 2006 4:29:09 am
List:ru.sysoev.nginx

Hi Igor,

saimon@iris ~/dev/freelance/myapp.org $ ls -l public/es//index.html -rw-rw-rw- 1 saimon users 1873 Nov 14 13:29 public/es//index.html

saimon@iris ~/dev/freelance/myapp.org $ ls -la public/ total 40 drwxr-xr-x 13 saimon users 664 Nov 14 13:30 . drwxr-xr-x 18 saimon users 688 Nov 14 13:05 .. -rw-r--r-- 1 saimon users 619 Oct 20 12:01 404.html -rw-r--r-- 1 saimon users 684 Oct 20 12:01 500.html lrwxrwxrwx 1 saimon users 1 Nov 10 16:05 ca -> . drwxr-xr-x 4 saimon users 328 Nov 14 13:30 en drwxr-xr-x 4 saimon users 328 Nov 14 13:29 es drwxr-xr-x 4 saimon users 328 Nov 14 13:30 fr drwxr-xr-x 4 saimon users 464 Nov 14 13:29 images -rw-rw-rw- 1 saimon users 1880 Nov 14 13:29 index.html drwxr-xr-x 5 saimon users 152 Nov 9 22:33 javascripts drwxr-xr-x 4 saimon users 248 Nov 14 13:29 stylesheets

saimon@iris ~/dev/freelance/myapp.org $ ls -la public/es total 5 lrwxrwxrwx 1 saimon users 11 Nov 10 16:01 404.html -> ../404.html lrwxrwxrwx 1 saimon users 11 Nov 10 16:02 500.html -> ../500.html lrwxrwxrwx 1 saimon users 14 Nov 10 16:06 favicon.ico -> ../favicon.ico lrwxrwxrwx 1 saimon users 9 Nov 10 16:00 images -> ../images -rw-rw-rw- 1 saimon users 1873 Nov 14 13:29 index.html lrwxrwxrwx 1 saimon users 14 Nov 10 16:01 javascripts -> ../javascripts lrwxrwxrwx 1 saimon users 14 Nov 10 16:01 stylesheets -> ../stylesheets

On 11/14/06, Igor Sysoev <is-G@public.gmane.org> wrote:

On Tue, 14 Nov 2006, Saimon Moore wrote:

Hi, I'm new to nginx and I'm having trouble adapting the nginx config to proxying mongrel correctly.

I'm having trouble with the following nginx configuration ( http://pastie.caboo.se/22617).

I have various vhosts setup but every time I ask for any static file, the request is passed on to mongrel even though there is a static file in the doc root ( http://pastie.caboo.se/22547).

In the first pastie you can see the error.log for the request to http://es.myapp.org when there is an index.html in the docroot.

I've been trying different configurations but I always get the same problem.

I really would appreciate any help with this.

What does ls -l /dev/freelance/myapp.org/public/es//index.html show ?

Skype: saimonmoore Yahoo IM: saimonmoore Google IM: saimonmoore