File tree Expand file tree Collapse file tree 5 files changed +48
-4
lines changed Expand file tree Collapse file tree 5 files changed +48
-4
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,10 @@ const thisYear = computed(() => new Date().getFullYear())
44
55<template >
66 <div class =" footer center" >
7- Copyright © 2020 - {{ thisYear }} Nginx UI
7+ Copyright © 2021 - {{ thisYear }} Nginx UI
88 </div >
99</template >
1010
1111<style scoped>
12- .footer {
1312
14- }
1513 </style >
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ onMounted(async () => {
2020 && locales[language]
2121 && ! route .path .includes (language)
2222 ) {
23- await router .go (language + (route .path !== ' /' ? route .path : ' ' ))
23+ const endWith = import .meta.env.DEV ? ' /' : ' '
24+ await router .go (language + (route .path !== ' /' ? route .path : endWith))
2425 }
2526})
2627 </script >
Original file line number Diff line number Diff line change @@ -103,3 +103,20 @@ CADir needs to comply with the `RFC 8555` standard.
103103
104104For users who may experience difficulties downloading resources from GitHub (such as in mainland China), this option
105105allows them to set a proxy for github.com to improve accessibility.
106+
107+ ## CertRenewalInterval
108+
109+ - Type: ` int `
110+ - Default value: ` 7 `
111+
112+ This option is used to set the automatic renewal interval of the Let's Encrypt certificate.
113+ By default, Nginx UI will automatically renew the certificate every 7 days.
114+
115+ ## RecursiveNameservers
116+
117+ - Type: ` []string `
118+ - Example: ` 8.8.8.8:53,1.1.1.1:53 `
119+
120+ This option is used to set the recursive nameservers used by
121+ Nginx UI in the DNS challenge step of applying for a certificate.
122+ If this option is not configured, Nginx UI will use the nameservers settings of the operating system.
Original file line number Diff line number Diff line change @@ -94,3 +94,17 @@ JWT 是一种用于验证用户身份的标准,它可以在用户登录后生
9494- 建议:` https://mirror.ghproxy.com/ `
9595
9696对于可能在从 Github 下载资源时遇到困难的用户(如在中国大陆),此选项允许他们为 github.com 设置代理,以提高可访问性。
97+
98+ ## CertRenewalInterval
99+
100+ - 类型:` int `
101+ - 默认值: ` 7 `
102+
103+ 此选项用于设置 Let's Encrypt 证书的自动续签间隔。默认情况下,Nginx UI 每隔 7 天会自动续签证书。
104+
105+ ## RecursiveNameservers
106+
107+ - 类型: ` []string `
108+ - 示例: ` 8.8.8.8:53,1.1.1.1:53 `
109+
110+ 此选项用于设置 Nginx UI 在申请证书的 DNS 挑战步骤所使用的递归域名服务器。在不配置此项目的情况下,Nginx UI 使用操作系统的域名服务器设置。
Original file line number Diff line number Diff line change @@ -95,3 +95,17 @@ JWT 是一種用於驗證用戶身份的標準,它可以在用戶登錄後生
9595- 建議:` https://mirror.ghproxy.com/ `
9696
9797對於可能在從 Github 下載資源時遇到困難的用戶(如在中國大陸),此選項允許他們為 github.com 設置代理,以提高可訪問性。
98+
99+ ## CertRenewalInterval
100+
101+ - 類型:` int `
102+ - 預設值: ` 7 `
103+
104+ 此選項用於設定 Let's Encrypt 證書的自動續簽間隔。預設情況下,Nginx UI 每隔 7 天會自動續簽證書。
105+
106+ ## RecursiveNameservers
107+
108+ - 類型: ` []string `
109+ - 範例: ` 8.8.8.8:53,1.1.1.1:53 `
110+
111+ 此選項用於設定 Nginx UI 在申請證書的 DNS 挑戰步驟所使用的遞迴域名伺服器。在不配置此項目的情況下,Nginx UI 使用作業系統的域名伺服器設定。
You can’t perform that action at this time.
0 commit comments