Strapi Automatic Scaling on Google App Engine

Thanks jgale for the solution. I added a file under /src/middlewares and then update /config/middleware.js but when google sends warm up requests they end up in redirect & look, what is the solution here do you know?