Files

Image optimization with secure compute

This example shows how you can use a Serverless Function as proxy to private image server to avoid giving direct access to browsers.

Deploy your own

Deploy with Vercel

How to use

Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:

npx create-next-app --example image-secure-compute image-secure-compute-app
yarn create next-app --example image-secure-compute image-secure-compute-app
pnpm create next-app --example image-secure-compute image-secure-compute-app

Deploy it to the cloud with Vercel (Documentation).