`$scheme` is an nginx variable not a puppet variable.