This commit is contained in:
SiderealArt 2022-06-13 11:44:50 +08:00 committed by GitHub
parent dd423eb0ba
commit 474398abc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 74 additions and 74 deletions

View File

@ -28,7 +28,7 @@ import common from '../common';
export default {
title: `${common.nginx} 設定`,
description: `設定高效能、安全、穩定的 ${common.nginx }伺服器最簡單方法。`,
description: `設定高效能、安全、穩定的 ${common.nginx} 伺服器最簡單方法。`,
singleColumnMode: '單欄模式',
splitColumnMode: '雙欄模式',
perWebsiteConfig: '網站設定',

View File

@ -26,5 +26,5 @@ THE SOFTWARE.
export default {
lookingForAPlaceToDeploy: '👋 在尋找部署新設定的地方?',
tryOutDigitalOceansDroplet: '試試用於 Nginx 的 DigitalOcean 的 LEMP Droplet。',
tryOutDigitalOceansDroplet: '試試 DigitalOcean 推出的 LEMP Droplet,適用於 NGINX。',
};

View File

@ -34,15 +34,15 @@ export default {
enableHttp3Connections: `${common.enable} ${common.http}/3 連線`,
forceHttps: `強制使用 ${common.https}`,
hsts: 'HSTS',
enableStrictTransportSecurity: `${common.enable}HSTS強制用戶端、瀏覽器等使用HTTPS與伺服器建立連結需要HTTPS連線`,
enableIncludeSubDomains: `${common.enable}includeSubDomains指令HSTS對所有子域生效`,
enablePreload: `${common.enable}preload指令強制用戶端只可以使用https連線`,
enableStrictTransportSecurity: `${common.enable} HSTS強制安全傳輸需要 HTTPS 連線`,
enableIncludeSubDomains: `${common.enable} includeSubDomains 指令,所有子網域須啟用 HTTPS 連線`,
enablePreload: `${common.enable} preload 指令,強制瀏覽器使用 HTTPS 連線`,
certificationType: '憑證類型',
customCertificate: '自訂憑證',
letsEncryptEmail: `${common.letsEncrypt} 電子郵件地址`,
http3IsANonStandardModule: 'HTTP/3 並不是標準的 NGINX 模組, 請查看 ',
http3IsANonStandardModule: 'HTTP/3 並不是標準的 NGINX 模組,請查閱 ',
http3NginxQuicReadme: 'NGINX QUIC 說明',
http3OrThe: ' 或者 ',
http3CloudflareQuicheProject: 'Cloudflare quiche 項目',
http3ForBuildingNginxWithHttp3: ' 來構建支援 HTTP/3 的 NGINX !',
http3CloudflareQuicheProject: 'Cloudflare quiche 專案',
http3ForBuildingNginxWithHttp3: '以了解如何建置支援 HTTP/3 的 NGINX !',
};

View File

@ -29,8 +29,8 @@ const onion = '洋蔥';
export default {
onion,
onionLocation: `${onion}位置`,
provideAnOnionLocationToSetOnionLocationHeader: '提供一個洋蔥位置地址,為您的網站設定洋蔥協定頭。',
letsVisitorsKnownOnionServicesIsAvailable: '這可以讓訪客知道您的網站的洋蔥服務版本可用於 Tor 瀏覽器。',
provideAnOnionLocationToSetOnionLocationHeader: '提供一個洋蔥位址,來為您的網站設定 Onion-Location 標頭。',
letsVisitorsKnownOnionServicesIsAvailable: '這可以讓訪客知道您的網站有可用於 Tor 瀏覽器的洋蔥服務版本。',
learnMoreAboutOnionServices: '瞭解有關洋蔥服務的更多資訊',
onionLocationExpectedToEndWithOnion: '洋蔥位置地址通常以 .onion 結尾。',
onionLocationExpectedToEndWithOnion: '洋蔥位址通常以 .onion 結尾。',
};

View File

@ -39,7 +39,7 @@ export default {
enableMagentoRules: `${common.enable} ${common.magento} 專屬規則`,
joomlaRules: `${common.joomla} 規則`,
enableJoomlaRules: `${common.enable} ${common.joomla} 專屬規則`,
phpServer: `${common.php} 服務`,
phpServer: `${common.php} 伺服器`,
phpBackupServer: `${common.php} 備份伺服器`,
tcp: 'TCP',
hhvmSocket: 'HHVM 通訊端',

View File

@ -26,7 +26,7 @@ THE SOFTWARE.
export default {
presets: '預設',
itLooksLikeYouCustomisedTheConfig: '看起來您已經為這個網站定制了配置。選擇新的預設可能會重置或更改一些您已經定制的設定。',
itLooksLikeYouCustomisedTheConfig: '您似乎調整過此網域的設定。選擇新的預設可能會重置或更改一些您自訂的設定。',
frontend: '前端',
nodeJs: 'Node.js',
singlePageApplication: 'SPA',

View File

@ -25,13 +25,13 @@ THE SOFTWARE.
*/
export default {
domain: '網',
documentRoot: '運行目錄',
oneOrMoreOtherDomainsAreAlsoNamed: '發現了重複的',
thisWillCauseIssuesWithConfigGeneration: '這將導致生成配置出現問題。',
wwwSubdomain: 'www 子',
cdnSubdomain: 'CDN 子',
redirectSubdomains: '子域名重定向',
domain: '網',
documentRoot: '檔案根目錄',
oneOrMoreOtherDomainsAreAlsoNamed: '發現了重複的域',
thisWillCauseIssuesWithConfigGeneration: '產生設定時將發生錯誤。',
wwwSubdomain: 'www 子域',
cdnSubdomain: 'CDN 子域',
redirectSubdomains: '重新導向域',
server: '服務',
listen: '監聽',
};

View File

@ -32,10 +32,10 @@ const dockerfile = 'Dockerfile';
export default {
docker,
dockerfile,
dockerCompose: `${docker} 編排服務`,
applyDockerTweaks: `應用 ${docker} 調整`,
applyDockerTweaksForNginx: `為使用 ${docker}運行${common.nginx}進行配置調整。`,
applyDockerTweaksExplainer: `${common.nginx}用戶更新為<code class="slim">nginx</code>將pid更新為<code class="slim">/var/run/nginx.pid</code>`,
includeDockerfile: `生成${dockerfile}運行${common.nginx}${docker}`,
includeDockerCompose: `生成docker-compose.yaml來運行${common.nginx} docker-compose`,
dockerCompose: `${docker} Compose`,
applyDockerTweaks: `套用 ${docker} 調校`,
applyDockerTweaksForNginx: `套用在 ${docker} 中執行 ${common.nginx} 所需的設定調校`,
applyDockerTweaksExplainer: ` ${common.nginx} 使用者設為 <code class="slim">nginx</code>,將 pid 設為<code class="slim">/var/run/nginx.pid</code>`,
includeDockerfile: `產生 ${dockerfile} 以使用 ${docker} 來執行 ${common.nginx}`,
includeDockerCompose: `產生 docker-compose 以使用 docker-compose 來執行 ${common.nginx}`,
};

View File

@ -31,22 +31,22 @@ const ipv4 = 'IPv4';
const ipv6 = 'IPv6';
export default {
sslProfile: `${common.ssl} 配置`,
httpsMustBeEnabledOnOneSite: `必須在至少一個網站上啟用${common.https}才能配置全域${common.https}設定。`,
sslProfile: `${common.ssl} 設定檔`,
httpsMustBeEnabledOnOneSite: `必須在至少一個網站上啟用 ${common.https} 才能調整全域 ${common.https} 設定。`,
portReuse: '連接埠複用',
enableReuseOfPort: `${common.enable} 連接埠複用來為每個worker生成監聽套接字`,
ocspDnsResolvers: 'OCSP DNS解析器',
cloudflareResolver: 'Cloudflare解析器',
enableReuseOfPort: `${common.enable}連接埠複用來為每個 worker 產生監聽通訊端`,
ocspDnsResolvers: 'OCSP DNS 解析器',
cloudflareResolver: 'Cloudflare 解析器',
googlePublicDns: 'Google 公共 DNS',
openDns: 'OpenDNS',
quad9: 'Quad9',
verisign: 'Verisign',
letsEncryptWebroot: `${common.letsEncrypt} Web根目錄`,
letsEncryptWebroot: `${common.letsEncrypt} Web 根目錄`,
letsEncryptCertRoot: `${common.letsEncrypt} 憑證目錄`,
mozillaModern: `${mozilla} Modern`,
mozillaIntermediate: `${mozilla} Intermediate`,
mozillaOld: `${mozilla} Old`,
ipv4Only: `${ipv4}`,
ipv6Only: `${ipv6}`,
ipv4Only: `${ipv4}`,
ipv6Only: `${ipv6}`,
ipv4AndIpv6: `${ipv4} & ${ipv6}`,
};

View File

@ -27,7 +27,7 @@ THE SOFTWARE.
import common from '../../common';
export default {
enableFileNotFoundErrorLogging: `${common.enable}“檔案未找到”錯誤日誌:`,
enableFileNotFoundErrorLogging: `${common.enable}「找不到檔案」錯誤日誌:`,
logformat: 'log_format',
enableCloudflare: '將 Cloudflare 請求標頭加入預設日誌格式',
cfRay: 'CF-Ray',

View File

@ -31,12 +31,12 @@ export default {
enableGzipCompression: `${common.enable} Gzip 壓縮`,
brotliCompression: 'Brotli 壓縮',
enableBrotliCompression: `${common.enable} brotli 壓縮`,
brotliIsANonStandardModule: 'Brotli 不是標準的 NGINX 模組, 前往 ',
brotliGoogleNgxBrotliProject: 'Google ngx_brotli 項目',
brotliForBuildingNginxWithBrotli: ' 構建支援 Brotli 的 NGINX!',
brotliIsANonStandardModule: 'Brotli 不是標準的 NGINX 模組,請參考 ',
brotliGoogleNgxBrotliProject: 'Google 的 ngx_brotli 專案',
brotliForBuildingNginxWithBrotli: ' 來了解如何建置支援 Brotli 的 NGINX!',
expirationForAssets: '資源有效期',
expirationForMedia: '媒體資源有效期',
expirationForSvgs: 'SVGs有效期',
expirationForSvgs: 'SVG 有效期',
expirationForFonts: '字體有效期',
performance: '效能',
};

View File

@ -28,5 +28,5 @@ import common from '../../common';
export default {
pythonServer: `${common.python} 服務`,
pythonMustBeEnabledOnOneSite: `必須在至少一個網站上啟用${common.python}才能配置全域${common.python}設定。`,
pythonMustBeEnabledOnOneSite: `必須在至少一個網站上啟用 ${common.python} 才能調整全域 ${common.python} 設定。`,
};

View File

@ -29,8 +29,8 @@ import common from '../../common';
const legacyXForwarded = '傳統 X-Forwarded-* 標頭';
export default {
reverseProxyMustBeEnabledOnOneSite: `必須在至少一個網站上啟用${common.reverseProxy} 才能配置全域${common.reverseProxy} 設定。`,
reverseProxyMustBeEnabledOnOneSite: `必須在至少一個網站上啟用${common.reverseProxy} 才能調整全域${common.reverseProxy} 設定。`,
seconds: '秒',
passOn: `轉發${legacyXForwarded} `,
passOn: `轉發${legacyXForwarded}`,
remove: `主動刪除${legacyXForwarded}`,
};

View File

@ -27,6 +27,6 @@ THE SOFTWARE.
import common from '../../common';
export default {
whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `使用${common.wordPress}時, <code class="slim">script-src 'self' 'unsafe-inline' 'unsafe-eval';</code>經常需要在內容安全策略中,以允許管理面板的功能正確`,
security: '安全',
whenUsingWordPressUnsafeEvalIsOftenRequiredToAllowFunctionality: `使用 ${common.wordPress} 時,通常需在 CSP 中加入 <code class="slim">script-src 'self' 'unsafe-inline' 'unsafe-eval';</code>,以使管理面板正常運作`,
security: '安全',
};

View File

@ -32,22 +32,22 @@ export default {
symlinkVhost: '符號連結 vhost',
enableSymLinksFrom: `${common.enable}符號連結`,
to: '到',
shareConfiguration: '分享配置',
resetConfiguration: '重置配置',
resetGlobalConfig: '重置全域配置',
resetAllDomains: '重置所有網',
resetAllDomainsConfig: '重置所有網站',
removeAllDomains: '删除所有網站',
resetDomainConfig: '重置網站配置',
removeDomain: '删除網站',
yesImSure: '好的',
shareConfiguration: '分享設定',
resetConfiguration: '重置設定',
resetGlobalConfig: '重置全域設定',
resetAllDomains: '重置所有網',
removeAllDomains: '移除所有網域',
resetAllDomainsConfig: '重置所有網域',
resetDomainConfig: '重置網域設定',
removeDomain: '移除網域',
yesImSure: '是,我確定',
noCancel: '取消',
tools: '工具',
resetGlobalConfigBody: '您確定要重置全域配置部分中的所有配置選項嗎?',
resetAllDomainsConfigBody: '您確定要重置所有網站的配置嗎?',
removeAllDomainsBody: '您確定要删除所有網站的配置嗎?',
resetGlobalConfigBody: '您確定要重置全域設定中的所有設定嗎?',
resetAllDomainsConfigBody: '您確定要重置所有網域的設定嗎?',
removeAllDomainsBody: '您確定要移除所有網域的設定嗎?',
areYouSureYouWantToResetAllConfigurationOptionsForThe: '您確定要重置',
domain: '網站的所有配置選項嗎?',
areYouSureYouWantToRemoveThe: '您確定要除',
domainConfiguration: '的網站配置嗎?',
domain: '網域的所有設定嗎?',
areYouSureYouWantToRemoveThe: '您確定要除',
domainConfiguration: '的網域設定嗎?',
};

View File

@ -29,11 +29,11 @@ import common from '../../common';
const certbot = 'Certbot';
export default {
commentOutSslDirectivesInConfiguration: `註解掉配置中的${common.ssl}相關指令:`,
reloadYourNginxServer: `重新載入您的${common.nginx}伺服器:`,
obtainSslCertificatesFromLetsEncrypt: `使用${certbot}${common.letsEncrypt}取得${common.ssl}證書:`,
uncommentSslDirectivesInConfiguration: `配置中取消註解${common.ssl}相關指令:`,
configureCertbotToReloadNginxOnCertificateRenewal: `配置${certbot},當${common.nginx}成功更新證書時重新載入:`,
certbotDoesNotNeedToBeSetupForYourConfiguration: `${certbot}不需要為您的${common.nginx}配置進行設定。 `,
commentOutSslDirectivesInConfiguration: `註解掉設定中的 ${common.ssl} 相關指令:`,
reloadYourNginxServer: `重新載入您的 ${common.nginx} 伺服器:`,
obtainSslCertificatesFromLetsEncrypt: `使用 ${certbot} ${common.letsEncrypt} 取得 ${common.ssl} 憑證:`,
uncommentSslDirectivesInConfiguration: `設定中取消註解 ${common.ssl} 相關指令:`,
configureCertbotToReloadNginxOnCertificateRenewal: `設定 ${certbot},當 ${common.nginx} 成功更新憑證時重新載入:`,
certbotDoesNotNeedToBeSetupForYourConfiguration: `${certbot} 無須設定。`,
certbot,
};

View File

@ -27,14 +27,14 @@ THE SOFTWARE.
import common from '../../common';
export default {
downloadTheGeneratedConfig: '<b>下載</b> 產生的配置',
downloadTheGeneratedConfig: '<b>下載</b>產生的設定',
andUploadItToYourServers: '然後<b>上傳</b>到您的伺服器的',
directory: '目錄。',
or: '或',
copyBase64StringOfCompressedConfig: '複製壓縮配置的base64字串',
pasteItInYourServersCommandLineAndExecute: ',將其貼到伺服器的命令列並執行。',
navigateToYourNginxConfigurationDirectoryOnYourServer: `進入您的${common.nginx}伺服器上的<b>配置資料夾</b>:`,
createABackupOfYourCurrentNginxConfiguration: `創建當前${common.nginx}配置的<b>備份</b>:`,
extractTheNewCompressedConfigurationArchiveUsingTar: '使用tar<b>解壓</b>新的壓縮配置',
copyBase64StringOfCompressedConfig: '複製壓縮過的設定的 base64 字串',
pasteItInYourServersCommandLineAndExecute: ',將其貼到伺服器的命令列並執行。',
navigateToYourNginxConfigurationDirectoryOnYourServer: `前往您的 ${common.nginx} 伺服器的<b>設定資料夾</b>`,
createABackupOfYourCurrentNginxConfiguration: `建立${common.nginx} 目前設定的<b>備份</b>`,
extractTheNewCompressedConfigurationArchiveUsingTar: '使用 tar <b>解壓縮</b>新的設定:',
download: '下載',
};

View File

@ -27,8 +27,8 @@ THE SOFTWARE.
import common from '../../common';
export default {
generateDiffieHellmanKeysByRunningThisCommandOnYourServer: '在您的伺服器上運行此命令生成<b>Diffie-Hellman keys</b>:',
createACommonAcmeChallengeDirectoryForLetsEncrypt: `建一個通用的<b>ACME-challenge</b>目錄(用於 <b>${common.letsEncrypt}</b>):`,
noAdditionalStepsAreNeededToSetUpSslForNginx: `無需任何操作,即可為您的${common.nginx}完成${common.ssl}配置`,
generateDiffieHellmanKeysByRunningThisCommandOnYourServer: '在您的伺服器上執行此命令來產生<b>迪菲-赫爾曼密鑰</b>',
createACommonAcmeChallengeDirectoryForLetsEncrypt: `一個通用的 <b>ACME-challenge</b> 目錄(用於 <b>${common.letsEncrypt}</b>)`,
noAdditionalStepsAreNeededToSetUpSslForNginx: `您的 ${common.nginx} 設定已完成 ${common.ssl} 設定,無須任何操作。`,
sslInit: `${common.ssl} 初始化`,
};