---
title: "Nuxt Config · Nuxt Site Config · Nuxt SEO"
canonical_url: "https://nuxtseo.com/docs/site-config/api/config"
last_updated: "2026-08-15T08:25:27.580Z"
meta:
  description: "The config options available for Nuxt Site Config."
  "og:description": "The config options available for Nuxt Site Config."
  "og:title": "Nuxt Config · Nuxt Site Config · Nuxt SEO"
---

Nuxt SEO on GitHub

Switch to Site ConfigSwitch to Nuxt SEOSwitch to RobotsSwitch to SitemapSwitch to OG ImageSwitch to Schema.orgSwitch to Link CheckerSwitch to SEO UtilsSwitch to Skew ProtectionSwitch to AI Ready

**Nuxt API**

# **Nuxt Config**

## `**enabled: boolean**`

- Default: `**true**`

Whether site config activates for this project.

## `**debug: boolean**`

- Default: `**false**`

Whether to activate debug mode for site config.

## `**multiTenancy: { hosts: string[]; config: SiteConfigInput }[]**`

- Default: `**[]**`

Configure multiple sites with different configurations based on the host. Each site configuration requires:

- `**hosts**`: An array of hostnames that should use this configuration
- `**config**`: The site configuration to use when the hostname matches

nuxt.config.ts

```ts
export default defineNuxtConfig({
  site: {
    multiTenancy: [
      {
        hosts: ['www.example.com', 'example.com', 'local.example.com'],
        config: {
          name: 'Example',
          description: 'Example description',
          url: 'example.com',
          defaultLocale: 'en',
          currentLocale: 'en',
        },
      },
      {
        hosts: ['www.foo.com', 'foo.com', 'local.foo.com'],
        config: {
          url: 'foo.com',
          name: 'Foo',
          description: 'Foo description',
        },
      },
    ]
  }
})
```

## `**url: string**`

The canonical site URL. On supported CI platforms (Vercel, [**~~Netlify~~**](https://netlify.com), Cloudflare Pages), this is automatically populated from platform environment variables if not explicitly set. See [**~~How it works~~**](https://nuxtseo.com/docs/site-config/guides/how-it-works) for details.

## `**env: string**`

- Default: `**import.meta.envName**`, then `**process.env.NODE_ENV**`

The environment the site is running in.

`**NUXT_SITE_ENV**` takes priority over this default when configured.

## `**name: string**`

The name of the site. On [**~~Vercel~~**](https://vercel.com) and Netlify, this is automatically populated from platform environment variables if not explicitly set. See [**~~How it works~~**](https://nuxtseo.com/docs/site-config/guides/how-it-works) for details.

## `**indexable: boolean**`

- Default: `**siteConfig.env === 'production'**`

Whether the site can be indexed by search engines.

## `**trailingSlash: boolean**`

- Default: `**false**`

Whether to add trailing slashes to the URLs.

## `**defaultLocale: string**`

The default locale of the site.

**Was this page helpful?**

### **Related **

[**How it works**](https://nuxtseo.com/docs/site-config/guides/how-it-works)

[**Recommended Config**](https://nuxtseo.com/docs/site-config/guides/setting-site-config)

[**Nuxt Config**](https://nuxtseo.com/docs/robots/api/config)

[**getNitroOrigin()** Get the runtime origin URL safely across development, prerendering, and production environments.](https://nuxtseo.com/docs/site-config/api/get-nitro-origin) [**Nuxt Hooks** Learn how to use Nuxt Hooks to customize your site config.](https://nuxtseo.com/docs/site-config/api/nuxt-hooks)