Fixed server-side rendering not handling failure correctly.

Also included nginx.conf file.