Correct nginx fastcgi templates to support nginx 1.0.*

Original templates caused issues with nginx 1.0.15 due
to format of the fastcgi config, altering this leads to
issues with undefined https variable but setting the variable
in the server config corrects this. Suspect this will
also be valid for later versions.