Add localhost to S3 endpoints.