Turned off nginx sendfile.
Added template files.