Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 692 Bytes

File metadata and controls

13 lines (7 loc) · 692 Bytes

The Next.js website is served through multiple Azure functions. The basic-nextjs-azure-functions package contains these functions.

Provided functions

nextjsserver - The actual Next.js web server, including Incremental Static Regeneration.

serveStaticFile - A function to serve all static files from the _next/static path.

Handling of routing is managed through the Azure functions proxy functionality as configured in proxies.json:

  • _next/static/* files are redirected to the serveStaticFile function
  • all other files are redirected to the nextjsserver function