you can bypass magento 404 by handling it directly in ngnix. Just Bloc 404 Requests from reaching magento and return your 444 response instead. This drops bot traffic instanly and saves server resources.