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

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -