Newer versions of nginx apparently hard-crash if they can't write a PID file in the current directory. To work around this, some writeable scratch space is created for the nginx daemon to write its PID to.
The redirect is currently all that this instance does. It is required because HTTP load balancers in GCP don't support URL rewriting.