Re: Where does $remote_addr come from?

2017-02-04 Thread B.R. via nginx
I am curious: apart from a training prospective at code digging, what was the goal? In other words, where did you expect the IP address to come from, if not from a system network socket? Have a nice week-end, --- *B. R.* On Sat, Feb 4, 2017 at 12:02 AM, Paul Nickerson wrote: > > Reading that fi

Re: limit connection based on Host header

2017-02-04 Thread Francis Daly
On Fri, Feb 03, 2017 at 09:54:43PM -0800, Frank Liu wrote: Hi there, > I have a default "server" block with "server_name _ ;". Since connections > coming in may have different Host header, I am trying to limit the > connection based on Host header. > > limit_conn_zone $server_name zone=perserve