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

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

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

javascript - Restarting Supervisor and effect on FlaskSocketIO -