Welcome! Log In Create A New Profile

Advanced

Re: remote_addr variable

A. Schulze
October 28, 2020 01:02PM
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 ssi.)

Hello Francis!

thanks for that hint. It works very well for me.
I can confirm the variable '$this_transport_is' is accessible
via ssi, too: <!--# echo var="this_transport_is" -->

Andreas
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

remote_addr variable

A. Schulze October 19, 2020 05:26AM

Re: remote_addr variable

Francis Daly October 25, 2020 07:22AM

Re: remote_addr variable

A. Schulze October 28, 2020 01:02PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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