Fix nginx startup in non-test environment.