Re: remote_addr variable

2020-10-28 Thread A. Schulze
Am 25.10.20 um 12:20 schrieb Francis Daly: > map $remote_addr $this_transport_is { > ~: IPv6; > default IPv4; > } > > and then use $this_transport_is where you want it. > > (Note: I have tested this with > > return 200 "Transport: $this_transport_is\n"; > > but I have not tried

Re: remote_addr variable

2020-10-25 Thread Francis Daly
On Mon, Oct 19, 2020 at 11:23:23AM +0200, A. Schulze wrote: Hi there, > I like to display (using ssi) if a client's remote address is ipv4 or ipv6 > Is there a variable available that indicate the current transport protocol? I'm not aware of a ready-made variable for this; but you can probably u

remote_addr variable

2020-10-19 Thread A. Schulze
Hello, I like to display (using ssi) if a client's remote address is ipv4 or ipv6 Is there a variable available that indicate the current transport protocol? Any hint is appreciated! Thanks, Andreas ___ nginx mailing list nginx@nginx.org http://mailman