Welcome! Log In Create A New Profile

Advanced

Re: starting /stopping nginx

Payam Chychi
April 21, 2009 04:35PM
wow i feel like a dumb dumb... re-reading what i had wrote out in the
config ... i noticed i had typed in /var/log(s)/nginx... where its
/var/log/nginx..

sorry for the dumb problem guys... i thought i was going crazy and yet
it was such a stupid mistake

on a side note, anyone have a sample config of allowing proxy_pass to
attach $realip of the client to the backend origin server? My origin
sees all connections being made by my nginx proxy even though i have
x-forward set in my proxy.conf

proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffers 32 4k;



Thanks everyone for their help...
Payam



2009/4/21 Igor Sysoev <is@rambler-co.ru>:
> On Tue, Apr 21, 2009 at 01:11:45PM -0700, Payam Chychi wrote:
>
>> Hey,
>>
>> I noticed that the graceful reload was not actually loading the new
>> config changes and so ive had to use a hard down/start
>
> I never saw this. Anyway, nginx should write the reason in error_log.
>
>> kill -quit $master works
>>
>> i did also notice that nginx will not start with the following in the config:
>> pid
Subject Author Posted

starting /stopping nginx

Payam Chychi April 21, 2009 12:50PM

Re: starting /stopping nginx

Nuno Magalhães April 21, 2009 01:27PM

Re: starting /stopping nginx

Payam Chychi April 21, 2009 01:32PM

Re: starting /stopping nginx

Jim Ohlstein April 21, 2009 01:43PM

Re: starting /stopping nginx

Payam Chychi April 21, 2009 03:00PM

Re: starting /stopping nginx

Jim Ohlstein April 21, 2009 03:51PM

Re: starting /stopping nginx

Igor Sysoev April 21, 2009 03:48PM

Re: starting /stopping nginx

Jim Ohlstein April 21, 2009 04:05PM

Re: starting /stopping nginx

Igor Sysoev April 21, 2009 03:52PM

Re: starting /stopping nginx

Payam Chychi April 21, 2009 04:11PM

Re: starting /stopping nginx

Igor Sysoev April 21, 2009 04:16PM

Re: starting /stopping nginx

Payam Chychi April 21, 2009 04:35PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 193
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