Fixes for nginx: run in foreground, correct path in startup script.