On Tue, Oct 30, 2007 at 07:11:39PM +0100, Almir Karic wrote:
Actually, format you posted your configuration is difficult to understand.
Is listen 10.0.0.2:80; is the same as listen dogbert:80; or not ?
I see some duplicate names in servers, for example, ooocon.kiberpipa.org
nginx should warn about duplicate names in log.
On 10/29/07, Almir Karic <redd...@public.gmane.org>
wrote:
actually, it still doesn't work, same problems.
this is what my two proxy codes look like:
location / {
proxy_pass http://127.0.0.1:81;
proxy_max_temp_file_size 10M;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;
}
On 10/29/07, Almir Karic <redd...@public.gmane.org>
wrote:
On 10/29/07, Igor Sysoev <is-G...@public.gmane.org> wrote:
thanks
(and it is ''proxy_set_header Host $host;'', just in
case someone will be looking at this thread facing same troubles)