ipv6 - Find and set IP version within nginx configuration -


from can tell from list, there no dedicated nginx variable check if client connecting via ipv4 or ipv6, since server supports both. i'd set variable pass php within fastcgi.conf so:

fastcgi_param      ip_version      $ip_version 

is there way determine ip version without using evil ifs , pass along? i'm aware can perform check within php, we'd use nginx if possible, while still maintaining stellar performance.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -