I would like to prevent access by IP address to my nginx server. For the internal IP I can use $server_addr but is there a variable for the public IP?
I would like to prevent access by IP address to my nginx server. For the internal IP I can use $server_addr but is there a variable for the public IP?