---
title: File-system conventions
description: API Reference for Next.js file-system conventions.
url: "https://nextjs.org/docs/pages/api-reference/file-conventions"
docs_index: /docs/pages/llms.txt
lastUpdated: 2025-04-24
prerequisites:
  - "API Reference: /docs/pages/api-reference"
---

> For an index of all documentation, see [/docs/pages/llms.txt](/docs/pages/llms.txt).

- [instrumentation.js](/docs/pages/api-reference/file-conventions/instrumentation): API reference for the instrumentation.js file.
- [Proxy](/docs/pages/api-reference/file-conventions/proxy): Learn how to use Proxy to run code before a request is completed.
- [public](/docs/pages/api-reference/file-conventions/public-folder): Next.js allows you to serve static files, like images, in the public directory. You can learn how it works here.
- [src Directory](/docs/pages/api-reference/file-conventions/src-folder): Save pages under the \`src\` folder as an alternative to the root \`pages\` directory.

---

For a semantic overview of all documentation, see [/sitemap.md](/sitemap.md)

For an index of all available documentation, see [/docs/pages/llms.txt](/docs/pages/llms.txt)