diff --git a/docs/.vitepress/config/en.ts b/docs/.vitepress/config/en.ts index 845a39d..7dff488 100644 --- a/docs/.vitepress/config/en.ts +++ b/docs/.vitepress/config/en.ts @@ -40,7 +40,8 @@ export const enConfig: LocaleSpecificConfig = { {text: 'Casdoor', link: '/guide/config-casdoor'}, {text: 'Logrotate', link: '/guide/config-logrotate'}, {text: 'Cluster', link: '/guide/config-cluster'}, - {text: 'Auth', link: '/guide/config-auth'} + {text: 'Auth', link: '/guide/config-auth'}, + {text: 'Crypto', link: '/guide/config-crypto'} ] }, { diff --git a/docs/.vitepress/config/zh_CN.ts b/docs/.vitepress/config/zh_CN.ts index 8e5eef9..5e07393 100644 --- a/docs/.vitepress/config/zh_CN.ts +++ b/docs/.vitepress/config/zh_CN.ts @@ -45,7 +45,8 @@ export const zhCNConfig: LocaleSpecificConfig = { {text: 'Casdoor', link: '/zh_CN/guide/config-casdoor'}, {text: 'Logrotate', link: '/zh_CN/guide/config-logrotate'}, {text: '集群', link: '/zh_CN/guide/config-cluster'}, - {text: '认证', link: '/zh_CN/guide/config-auth'} + {text: '认证', link: '/zh_CN/guide/config-auth'}, + {text: '加密', link: '/zh_CN/guide/config-crypto'} ] }, { diff --git a/docs/.vitepress/config/zh_TW.ts b/docs/.vitepress/config/zh_TW.ts index 24c2c75..ccf7cca 100644 --- a/docs/.vitepress/config/zh_TW.ts +++ b/docs/.vitepress/config/zh_TW.ts @@ -44,7 +44,8 @@ export const zhTWConfig: LocaleSpecificConfig = { {text: 'Casdoor', link: '/zh_TW/guide/config-casdoor'}, {text: 'Logrotate', link: '/zh_TW/guide/config-logrotate'}, {text: '集群', link: '/zh_TW/guide/config-cluster'}, - {text: '認證', link: '/zh_TM/guide/config-auth'} + {text: '認證', link: '/zh_TW/guide/config-auth'}, + {text: '加密', link: '/zh_TW/guide/config-crypto'} ] }, { diff --git a/docs/guide/config-crypto.md b/docs/guide/config-crypto.md new file mode 100644 index 0000000..449c267 --- /dev/null +++ b/docs/guide/config-crypto.md @@ -0,0 +1,7 @@ +# Crypto + +## Secret +- Type: `string` + +If this value is empty, Nginx UI will generate a random secret key automatically. +This secret is used to encrypt the sensitive data stored in the database. diff --git a/docs/index.md b/docs/index.md index ffcdf37..f8ef0f6 100644 --- a/docs/index.md +++ b/docs/index.md @@ -51,6 +51,9 @@ features: - icon: 📱 title: Responsive Web Design details: Enjoy a seamless experience on any device with responsive web design. + - icon: 🔐 + title: 2FA Authentication + details: Secure sensitive actions with two-factor authentication. --- diff --git a/docs/zh_CN/guide/config-crypto.md b/docs/zh_CN/guide/config-crypto.md new file mode 100644 index 0000000..146f61e --- /dev/null +++ b/docs/zh_CN/guide/config-crypto.md @@ -0,0 +1,6 @@ +# Crypto + +## Secret +- Type: `string` + +如果这个值为空,Nginx UI 将会自动生成一个随机的密钥。这个密钥用于加密存储在数据库中的敏感数据。 diff --git a/docs/zh_CN/index.md b/docs/zh_CN/index.md index cdeaa29..f122abe 100644 --- a/docs/zh_CN/index.md +++ b/docs/zh_CN/index.md @@ -51,6 +51,8 @@ features: - icon: 📱 title: 自适应网页设计 details: 通过自适应网页设计在任何设备上享受无缝体验。 - + - icon: 🔐 + title: 双因素认证 + details: 使用双因素认证保护敏感操作。 --- diff --git a/docs/zh_TW/guide/config-crypto.md b/docs/zh_TW/guide/config-crypto.md new file mode 100644 index 0000000..6b582dc --- /dev/null +++ b/docs/zh_TW/guide/config-crypto.md @@ -0,0 +1,6 @@ +# Crypto + +## Secret +- Type: `string` + +如果這個值為空,Nginx UI 將會自動生成一個隨機的密鑰。這個密鑰用於加密存儲在數據庫中的敏感數據。 diff --git a/docs/zh_TW/index.md b/docs/zh_TW/index.md index 2f56938..f0b609c 100644 --- a/docs/zh_TW/index.md +++ b/docs/zh_TW/index.md @@ -51,6 +51,8 @@ features: - icon: 📱 title: 自適應網頁設計 details: 透過自適應網頁設計在任何裝置上享受無縫體驗。 - + - icon: 🔐 + title: 雙因素認證 + details: 使用雙因素認證保護敏感操作。 ---