Memache key

currently we use:

set $memcached_key “$uri?$args”;

for the key.

put that is causing a couple issues.

if we want to use, full hostname, what is the proper variable to put?

set $memcached_key “$server_name/$uri?$args”;

?

so that if we have

server_name x.co.uk;
server_name www.x.co.uk;

and the url was /home/index.html?t=ed

we could end up with memcache keys for both.

ie i DO want

and

to be created as required.

i’m asking because i thought i saw something go by in an email or in
release notes
related to which server name ends up in $server_name