nginx: apply pull req from https://github.com/planetrobbie/nginx/commit/7375aae4f5600f7ac28f73b0a802a7d1bad13269#L0L28