use `daemon off` in config to run nginx in foreground