32 lines
848 B
Markdown
32 lines
848 B
Markdown
|
|
---
|
||
|
|
title: 'Configuration Guide'
|
||
|
|
description: 'Detailed MultiSite configuration options and best practices'
|
||
|
|
date: '2024-01-16'
|
||
|
|
author: 'MultiSite Team'
|
||
|
|
category: 'Configuration'
|
||
|
|
tags: ['configuration', 'environment', 'customization']
|
||
|
|
---
|
||
|
|
|
||
|
|
# Configuration Guide
|
||
|
|
|
||
|
|
This guide will detail how to configure MultiSite to meet your needs.
|
||
|
|
|
||
|
|
## Environment Variables
|
||
|
|
|
||
|
|
Create a `.env.local` file to configure environment variables:
|
||
|
|
|
||
|
|
```env:
|
||
|
|
# Basic site information
|
||
|
|
NEXT_PUBLIC_SITE_URL=https://your-domain.com
|
||
|
|
NEXT_PUBLIC_SITE_NAME=MultiSite
|
||
|
|
NEXT_PUBLIC_DEFAULT_LANG=zh-CN
|
||
|
|
|
||
|
|
# SEO configuration
|
||
|
|
NEXT_PUBLIC_SEO_TITLE=MultiSite - Enterprise Multi-language Solution
|
||
|
|
NEXT_PUBLIC_SEO_DESCRIPTION=High-performance multi-language static website based on React/Next.js
|
||
|
|
|
||
|
|
# Analytics tools
|
||
|
|
NEXT_PUBLIC_GA_ID=G-XXXXXXXXXX
|
||
|
|
NEXT_PUBLIC_BAIDU_ANALYTICS=your-baidu-id
|
||
|
|
```
|