Да, это изменилось в 0.6.25:
*) Change: now the "server_name_in_redirect" directive is used
instead
of the "server_name" directive's special "*" parameter.
*) Change: now wildcard and regex names can be used as main name in a
"server_name" directive.
В данном случае подойдёт $host или $http_host.