Browse Source

feat: added github proxy setting

0xJacky 2 years ago
parent
commit
8b756c8944

+ 146 - 116
frontend/src/language/en/app.po

@@ -24,10 +24,10 @@ msgstr "Action"
 
 
 #: src/components/StdDataDisplay/StdCurd.vue:145
 #: src/components/StdDataDisplay/StdCurd.vue:145
 #: src/components/StdDataDisplay/StdCurd.vue:25
 #: src/components/StdDataDisplay/StdCurd.vue:25
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:28
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:28
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:34
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:34
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:35
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:35
-#: src/views/domain/ngx_conf/NgxConfigEditor.vue:48
+#: src/views/domain/ngx_conf/NgxConfigEditor.vue:50
 msgid "Add"
 msgid "Add"
 msgstr ""
 msgstr ""
 
 
@@ -65,12 +65,12 @@ msgstr ""
 msgid "API Token"
 msgid "API Token"
 msgstr ""
 msgstr ""
 
 
-#: src/views/system/Upgrade.vue:12 src/views/system/Upgrade.vue:13
-#: src/views/system/Upgrade.vue:17 src/views/system/Upgrade.vue:21
+#: src/views/system/Upgrade.vue:11 src/views/system/Upgrade.vue:12
+#: src/views/system/Upgrade.vue:16 src/views/system/Upgrade.vue:20
 msgid "Arch"
 msgid "Arch"
 msgstr ""
 msgstr ""
 
 
-#: src/components/ChatGPT/ChatGPT.vue:41
+#: src/components/ChatGPT/ChatGPT.vue:40
 #, fuzzy
 #, fuzzy
 msgid "Are you sure you want to clear the record of chat?"
 msgid "Are you sure you want to clear the record of chat?"
 msgstr "Are you sure you want to remove this directive?"
 msgstr "Are you sure you want to remove this directive?"
@@ -90,14 +90,14 @@ msgstr "Are you sure you want to remove this directive?"
 msgid "Are you sure you want to remove this location?"
 msgid "Are you sure you want to remove this location?"
 msgstr "Are you sure you want to remove this directive?"
 msgstr "Are you sure you want to remove this directive?"
 
 
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:12
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:13
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:16
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:17
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:20
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:21
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:25
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:31
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:12
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:13
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:16
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:17
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:20
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:21
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:25
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:31
 msgid "Author"
 msgid "Author"
 msgstr ""
 msgstr ""
 
 
@@ -122,18 +122,18 @@ msgstr ""
 msgid "Auto-Cert Log"
 msgid "Auto-Cert Log"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/cert/IssueCert.vue:71
+#: src/views/domain/cert/IssueCert.vue:121
 msgid "Auto-renewal disabled for %{name}"
 msgid "Auto-renewal disabled for %{name}"
 msgstr "Auto-renewal disabled for %{name}"
 msgstr "Auto-renewal disabled for %{name}"
 
 
-#: src/views/domain/cert/IssueCert.vue:65
+#: src/views/domain/cert/IssueCert.vue:115
 msgid "Auto-renewal enabled for %{name}"
 msgid "Auto-renewal enabled for %{name}"
 msgstr "Auto-renewal enabled for %{name}"
 msgstr "Auto-renewal enabled for %{name}"
 
 
-#: src/views/config/Config.vue:18 src/views/config/Config.vue:19
-#: src/views/config/Config.vue:29 src/views/config/Config.vue:7
-#: src/views/config/ConfigEdit.vue:72 src/views/domain/DomainEdit.vue:236
-#: src/views/nginx_log/NginxLog.vue:173
+#: src/views/config/Config.vue:17 src/views/config/Config.vue:18
+#: src/views/config/Config.vue:28 src/views/config/Config.vue:6
+#: src/views/config/ConfigEdit.vue:83 src/views/domain/DomainEdit.vue:243
+#: src/views/nginx_log/NginxLog.vue:172
 msgid "Back"
 msgid "Back"
 msgstr "Back"
 msgstr "Back"
 
 
@@ -168,8 +168,8 @@ msgstr "Modify Config"
 msgid "Build with"
 msgid "Build with"
 msgstr "Build with"
 msgstr "Build with"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:18 src/components/ChatGPT/ChatGPT.vue:19
-#: src/components/ChatGPT/ChatGPT.vue:23 src/components/ChatGPT/ChatGPT.vue:25
+#: src/components/ChatGPT/ChatGPT.vue:17 src/components/ChatGPT/ChatGPT.vue:18
+#: src/components/ChatGPT/ChatGPT.vue:22 src/components/ChatGPT/ChatGPT.vue:24
 #: src/components/StdDataDisplay/StdBatchEdit.vue:7
 #: src/components/StdDataDisplay/StdBatchEdit.vue:7
 #: src/components/StdDataDisplay/StdCurd.vue:27
 #: src/components/StdDataDisplay/StdCurd.vue:27
 #: src/components/StdDataEntry/components/StdSelector.vue:11
 #: src/components/StdDataEntry/components/StdSelector.vue:11
@@ -184,7 +184,7 @@ msgstr "Certificate has expired"
 msgid "Certificate is valid"
 msgid "Certificate is valid"
 msgstr "Certificate is valid"
 msgstr "Certificate is valid"
 
 
-#: src/views/cert/Cert.vue:34 src/views/domain/cert/Cert.vue:35
+#: src/views/cert/Cert.vue:34 src/views/domain/cert/Cert.vue:36
 msgid "Certificate Status"
 msgid "Certificate Status"
 msgstr "Certificate Status"
 msgstr "Certificate Status"
 
 
@@ -200,29 +200,24 @@ msgstr "Certificate is valid"
 msgid "Change Certificate"
 msgid "Change Certificate"
 msgstr "Certificate is valid"
 msgstr "Certificate is valid"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:48 src/components/ChatGPT/ChatGPT.vue:49
-#: src/components/ChatGPT/ChatGPT.vue:59
-msgid "Chat with ChatGPT"
-msgstr ""
-
 #: src/views/preference/Preference.vue:42
 #: src/views/preference/Preference.vue:42
 msgid "ChatGPT Model"
 msgid "ChatGPT Model"
 msgstr ""
 msgstr ""
 
 
-#: src/views/system/Upgrade.vue:16 src/views/system/Upgrade.vue:17
-#: src/views/system/Upgrade.vue:21 src/views/system/Upgrade.vue:25
+#: src/views/system/Upgrade.vue:15 src/views/system/Upgrade.vue:16
+#: src/views/system/Upgrade.vue:20 src/views/system/Upgrade.vue:24
 msgid "Check again"
 msgid "Check again"
 msgstr ""
 msgstr ""
 
 
-#: src/components/ChatGPT/ChatGPT.vue:32 src/components/ChatGPT/ChatGPT.vue:33
-#: src/components/ChatGPT/ChatGPT.vue:39 src/components/ChatGPT/ChatGPT.vue:43
+#: src/components/ChatGPT/ChatGPT.vue:31 src/components/ChatGPT/ChatGPT.vue:32
+#: src/components/ChatGPT/ChatGPT.vue:38 src/components/ChatGPT/ChatGPT.vue:42
 msgid "Clear"
 msgid "Clear"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:34
+#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:33
 #: src/views/domain/ngx_conf/LocationEditor.vue:35
 #: src/views/domain/ngx_conf/LocationEditor.vue:35
 #: src/views/domain/ngx_conf/LocationEditor.vue:52
 #: src/views/domain/ngx_conf/LocationEditor.vue:52
-#: src/views/domain/ngx_conf/NgxConfigEditor.vue:189
+#: src/views/domain/ngx_conf/NgxConfigEditor.vue:228
 msgid "Comments"
 msgid "Comments"
 msgstr "Comments"
 msgstr "Comments"
 
 
@@ -231,7 +226,7 @@ msgstr "Comments"
 msgid "Config Name"
 msgid "Config Name"
 msgstr "Configuration Name"
 msgstr "Configuration Name"
 
 
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:61
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:81
 #, fuzzy
 #, fuzzy
 msgid "Config Templates"
 msgid "Config Templates"
 msgstr "Configurations"
 msgstr "Configurations"
@@ -244,7 +239,7 @@ msgstr ""
 msgid "Configuration Name"
 msgid "Configuration Name"
 msgstr "Configuration Name"
 msgstr "Configuration Name"
 
 
-#: src/views/config/Config.vue:4
+#: src/views/config/Config.vue:2
 msgid "Configurations"
 msgid "Configurations"
 msgstr "Configurations"
 msgstr "Configurations"
 
 
@@ -252,13 +247,13 @@ msgstr "Configurations"
 msgid "Configure SSL"
 msgid "Configure SSL"
 msgstr "Configure SSL"
 msgstr "Configure SSL"
 
 
-#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:37
+#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:36
 #: src/views/domain/ngx_conf/LocationEditor.vue:41
 #: src/views/domain/ngx_conf/LocationEditor.vue:41
 #: src/views/domain/ngx_conf/LocationEditor.vue:58
 #: src/views/domain/ngx_conf/LocationEditor.vue:58
 msgid "Content"
 msgid "Content"
 msgstr "Content"
 msgstr "Content"
 
 
-#: src/views/system/Upgrade.vue:3
+#: src/views/system/Upgrade.vue:4
 msgid "Core Upgrade"
 msgid "Core Upgrade"
 msgstr ""
 msgstr ""
 
 
@@ -282,15 +277,15 @@ msgstr "Created at"
 msgid "Creating client facilitates communication with the CA server"
 msgid "Creating client facilitates communication with the CA server"
 msgstr ""
 msgstr ""
 
 
-#: src/views/system/Upgrade.vue:10 src/views/system/Upgrade.vue:11
-#: src/views/system/Upgrade.vue:15 src/views/system/Upgrade.vue:19
+#: src/views/system/Upgrade.vue:10 src/views/system/Upgrade.vue:14
+#: src/views/system/Upgrade.vue:18 src/views/system/Upgrade.vue:9
 msgid "Current Version"
 msgid "Current Version"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:23
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:24
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:28
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:34
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:24
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:25
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:29
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:35
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:6
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:6
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:7
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:7
 msgid "Custom"
 msgid "Custom"
@@ -330,14 +325,14 @@ msgstr ""
 msgid "Delete site: %{site_name}"
 msgid "Delete site: %{site_name}"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:13
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:14
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:17
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:18
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:21
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:22
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:26
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:32
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:13
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:14
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:17
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:18
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:21
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:22
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:26
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:32
 msgid "Description"
 msgid "Description"
 msgstr ""
 msgstr ""
 
 
@@ -358,7 +353,7 @@ msgstr "Directive"
 msgid "Directives"
 msgid "Directives"
 msgstr "Directives"
 msgstr "Directives"
 
 
-#: src/views/domain/cert/IssueCert.vue:73
+#: src/views/domain/cert/IssueCert.vue:123
 msgid "Disable auto-renewal failed for %{name}"
 msgid "Disable auto-renewal failed for %{name}"
 msgstr "Disable auto-renewal failed for %{name}"
 msgstr "Disable auto-renewal failed for %{name}"
 
 
@@ -370,7 +365,7 @@ msgstr "Disable auto-renewal failed for %{name}"
 msgid "Disabled"
 msgid "Disabled"
 msgstr "Disabled"
 msgstr "Disabled"
 
 
-#: src/views/domain/DomainEdit.vue:151 src/views/domain/DomainList.vue:70
+#: src/views/domain/DomainEdit.vue:153 src/views/domain/DomainList.vue:70
 msgid "Disabled successfully"
 msgid "Disabled successfully"
 msgstr "Disabled successfully"
 msgstr "Disabled successfully"
 
 
@@ -378,6 +373,19 @@ msgstr "Disabled successfully"
 msgid "Disk IO"
 msgid "Disk IO"
 msgstr "Disk IO"
 msgstr "Disk IO"
 
 
+#: src/views/domain/cert/IssueCert.vue:33
+msgid "Do you want to disable auto-cert renewal?"
+msgstr ""
+
+#: src/views/domain/cert/IssueCert.vue:34
+msgid "Do you want to enable auto-cert renewal?"
+msgstr ""
+
+#: src/views/domain/ngx_conf/NgxConfigEditor.vue:30
+#, fuzzy
+msgid "Do you want to enable TLS?"
+msgstr "Are you sure you want to remove this directive?"
+
 #: src/views/domain/DomainAdd.vue:58
 #: src/views/domain/DomainAdd.vue:58
 msgid "Domain Config Created Successfully"
 msgid "Domain Config Created Successfully"
 msgstr "Domain Config Created Successfully"
 msgstr "Domain Config Created Successfully"
@@ -421,7 +429,7 @@ msgstr "Edit Site"
 msgid "Email (*)"
 msgid "Email (*)"
 msgstr "Email (*)"
 msgstr "Email (*)"
 
 
-#: src/views/domain/cert/IssueCert.vue:67
+#: src/views/domain/cert/IssueCert.vue:117
 msgid "Enable auto-renewal failed for %{name}"
 msgid "Enable auto-renewal failed for %{name}"
 msgstr "Enable auto-renewal failed for %{name}"
 msgstr "Enable auto-renewal failed for %{name}"
 
 
@@ -441,7 +449,7 @@ msgstr "Enable TLS"
 msgid "Enabled"
 msgid "Enabled"
 msgstr "Enabled"
 msgstr "Enabled"
 
 
-#: src/views/domain/DomainAdd.vue:47 src/views/domain/DomainEdit.vue:142
+#: src/views/domain/DomainAdd.vue:47 src/views/domain/DomainEdit.vue:144
 #: src/views/domain/DomainList.vue:60
 #: src/views/domain/DomainList.vue:60
 msgid "Enabled successfully"
 msgid "Enabled successfully"
 msgstr "Enabled successfully"
 msgstr "Enabled successfully"
@@ -458,8 +466,8 @@ msgstr ""
 msgid "Error Logs"
 msgid "Error Logs"
 msgstr ""
 msgstr ""
 
 
-#: src/views/system/Upgrade.vue:13 src/views/system/Upgrade.vue:14
-#: src/views/system/Upgrade.vue:18 src/views/system/Upgrade.vue:22
+#: src/views/system/Upgrade.vue:12 src/views/system/Upgrade.vue:13
+#: src/views/system/Upgrade.vue:17 src/views/system/Upgrade.vue:21
 msgid "Executable Path"
 msgid "Executable Path"
 msgstr ""
 msgstr ""
 
 
@@ -474,11 +482,11 @@ msgstr "Expiration Date: %{date}"
 msgid "Export"
 msgid "Export"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/DomainEdit.vue:154 src/views/domain/DomainList.vue:74
+#: src/views/domain/DomainEdit.vue:156 src/views/domain/DomainList.vue:74
 msgid "Failed to disable %{msg}"
 msgid "Failed to disable %{msg}"
 msgstr "Failed to disable %{msg}"
 msgstr "Failed to disable %{msg}"
 
 
-#: src/views/domain/DomainEdit.vue:145 src/views/domain/DomainList.vue:64
+#: src/views/domain/DomainEdit.vue:147 src/views/domain/DomainList.vue:64
 msgid "Failed to enable %{msg}"
 msgid "Failed to enable %{msg}"
 msgstr "Failed to enable %{msg}"
 msgstr "Failed to enable %{msg}"
 
 
@@ -510,16 +518,16 @@ msgstr ""
 msgid "Finished"
 msgid "Finished"
 msgstr "Finished"
 msgstr "Finished"
 
 
-#: src/views/config/ConfigEdit.vue:75
+#: src/views/config/ConfigEdit.vue:86
 msgid "Format Code"
 msgid "Format Code"
 msgstr ""
 msgstr ""
 
 
-#: src/views/config/ConfigEdit.vue:57
+#: src/views/config/ConfigEdit.vue:64
 #, fuzzy
 #, fuzzy
 msgid "Format error %{msg}"
 msgid "Format error %{msg}"
 msgstr "Save error %{msg}"
 msgstr "Save error %{msg}"
 
 
-#: src/views/config/ConfigEdit.vue:55
+#: src/views/config/ConfigEdit.vue:62
 #, fuzzy
 #, fuzzy
 msgid "Format successfully"
 msgid "Format successfully"
 msgstr "Saved successfully"
 msgstr "Saved successfully"
@@ -532,7 +540,7 @@ msgstr ""
 msgid "Generating private key for registering account"
 msgid "Generating private key for registering account"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/cert/IssueCert.vue:96
+#: src/views/domain/cert/IssueCert.vue:146
 msgid "Getting the certificate, please wait..."
 msgid "Getting the certificate, please wait..."
 msgstr "Getting the certificate, please wait..."
 msgstr "Getting the certificate, please wait..."
 
 
@@ -571,11 +579,6 @@ msgstr ""
 msgid "Initialing core upgrader"
 msgid "Initialing core upgrader"
 msgstr ""
 msgstr ""
 
 
-#: src/views/config/InspectConfig.vue:2
-#, fuzzy
-msgid "Inspect Configurations"
-msgstr "Edit Configuration"
-
 #: src/routes/index.ts:155 src/views/other/Install.vue:128
 #: src/routes/index.ts:155 src/views/other/Install.vue:128
 msgid "Install"
 msgid "Install"
 msgstr "Install"
 msgstr "Install"
@@ -598,8 +601,8 @@ msgstr "Enabled successfully"
 msgid "Jwt Secret"
 msgid "Jwt Secret"
 msgstr ""
 msgstr ""
 
 
-#: src/views/system/Upgrade.vue:14 src/views/system/Upgrade.vue:15
-#: src/views/system/Upgrade.vue:19 src/views/system/Upgrade.vue:23
+#: src/views/system/Upgrade.vue:13 src/views/system/Upgrade.vue:14
+#: src/views/system/Upgrade.vue:18 src/views/system/Upgrade.vue:22
 msgid "Last checked at"
 msgid "Last checked at"
 msgstr ""
 msgstr ""
 
 
@@ -642,10 +645,11 @@ msgstr "Login successful"
 msgid "Logout successful"
 msgid "Logout successful"
 msgstr "Logout successful"
 msgstr "Logout successful"
 
 
-#: src/views/domain/cert/IssueCert.vue:210
+#: src/views/domain/cert/IssueCert.vue:252
+#, fuzzy
 msgid ""
 msgid ""
 "Make sure you have configured a reverse proxy for .well-known directory to "
 "Make sure you have configured a reverse proxy for .well-known directory to "
-"HTTPChallengePort (default: 9180) before getting the certificate."
+"HTTPChallengePort before obtaining the certificate."
 msgstr ""
 msgstr ""
 "Make sure you have configured a reverse proxy for .well-known directory to "
 "Make sure you have configured a reverse proxy for .well-known directory to "
 "HTTPChallengePort (default: 9180) before getting the certificate."
 "HTTPChallengePort (default: 9180) before getting the certificate."
@@ -670,8 +674,8 @@ msgstr "Memory"
 msgid "Memory and Storage"
 msgid "Memory and Storage"
 msgstr "Memory and Storage"
 msgstr "Memory and Storage"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:14 src/components/ChatGPT/ChatGPT.vue:15
-#: src/components/ChatGPT/ChatGPT.vue:19 src/components/ChatGPT/ChatGPT.vue:21
+#: src/components/ChatGPT/ChatGPT.vue:13 src/components/ChatGPT/ChatGPT.vue:14
+#: src/components/ChatGPT/ChatGPT.vue:18 src/components/ChatGPT/ChatGPT.vue:20
 #: src/components/StdDataDisplay/StdCurd.vue:25
 #: src/components/StdDataDisplay/StdCurd.vue:25
 #: src/components/StdDataDisplay/StdTable.vue:25
 #: src/components/StdDataDisplay/StdTable.vue:25
 #: src/components/StdDataDisplay/StdTable.vue:26
 #: src/components/StdDataDisplay/StdTable.vue:26
@@ -714,7 +718,7 @@ msgstr "Network Total Receive"
 msgid "Network Total Send"
 msgid "Network Total Send"
 msgstr "Network Total Send"
 msgstr "Network Total Send"
 
 
-#: src/views/system/Upgrade.vue:34
+#: src/views/system/Upgrade.vue:32
 msgid "New version released"
 msgid "New version released"
 msgstr ""
 msgstr ""
 
 
@@ -757,7 +761,7 @@ msgstr "Saved successfully"
 msgid "Nginx restarted successfully"
 msgid "Nginx restarted successfully"
 msgstr "Saved successfully"
 msgstr "Saved successfully"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:39
+#: src/components/ChatGPT/ChatGPT.vue:38
 #: src/components/StdDataDisplay/StdTable.vue:53
 #: src/components/StdDataDisplay/StdTable.vue:53
 #: src/views/domain/DomainList.vue:27
 #: src/views/domain/DomainList.vue:27
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:22
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:22
@@ -781,7 +785,7 @@ msgstr ""
 msgid "Obtaining certificate"
 msgid "Obtaining certificate"
 msgstr ""
 msgstr ""
 
 
-#: src/components/ChatGPT/ChatGPT.vue:40
+#: src/components/ChatGPT/ChatGPT.vue:39
 #: src/components/StdDataDisplay/StdBatchEdit.vue:8
 #: src/components/StdDataDisplay/StdBatchEdit.vue:8
 #: src/components/StdDataDisplay/StdCurd.vue:28
 #: src/components/StdDataDisplay/StdCurd.vue:28
 #: src/components/StdDataDisplay/StdTable.vue:54
 #: src/components/StdDataDisplay/StdTable.vue:54
@@ -795,8 +799,8 @@ msgstr ""
 msgid "OpenAI"
 msgid "OpenAI"
 msgstr ""
 msgstr ""
 
 
-#: src/views/system/Upgrade.vue:11 src/views/system/Upgrade.vue:12
-#: src/views/system/Upgrade.vue:16 src/views/system/Upgrade.vue:20
+#: src/views/system/Upgrade.vue:10 src/views/system/Upgrade.vue:11
+#: src/views/system/Upgrade.vue:15 src/views/system/Upgrade.vue:19
 #, fuzzy
 #, fuzzy
 msgid "OS"
 msgid "OS"
 msgstr "OS:"
 msgstr "OS:"
@@ -877,8 +881,8 @@ msgstr "Reads"
 msgid "Receive"
 msgid "Receive"
 msgstr "Receive"
 msgstr "Receive"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:35 src/components/ChatGPT/ChatGPT.vue:36
-#: src/components/ChatGPT/ChatGPT.vue:42 src/components/ChatGPT/ChatGPT.vue:46
+#: src/components/ChatGPT/ChatGPT.vue:34 src/components/ChatGPT/ChatGPT.vue:35
+#: src/components/ChatGPT/ChatGPT.vue:41 src/components/ChatGPT/ChatGPT.vue:45
 msgid "Regenerate response"
 msgid "Regenerate response"
 msgstr ""
 msgstr ""
 
 
@@ -886,21 +890,21 @@ msgstr ""
 msgid "Registering user"
 msgid "Registering user"
 msgstr ""
 msgstr ""
 
 
-#: src/views/system/Upgrade.vue:24 src/views/system/Upgrade.vue:25
-#: src/views/system/Upgrade.vue:29 src/views/system/Upgrade.vue:33
-#: src/views/system/Upgrade.vue:36 src/views/system/Upgrade.vue:39
+#: src/views/system/Upgrade.vue:22 src/views/system/Upgrade.vue:23
+#: src/views/system/Upgrade.vue:27 src/views/system/Upgrade.vue:31
+#: src/views/system/Upgrade.vue:34 src/views/system/Upgrade.vue:37
 #, fuzzy
 #, fuzzy
 msgid "Reinstall"
 msgid "Reinstall"
 msgstr "Install"
 msgstr "Install"
 
 
-#: src/views/system/Upgrade.vue:31 src/views/system/Upgrade.vue:32
-#: src/views/system/Upgrade.vue:36 src/views/system/Upgrade.vue:40
-#: src/views/system/Upgrade.vue:43 src/views/system/Upgrade.vue:48
+#: src/views/system/Upgrade.vue:29 src/views/system/Upgrade.vue:30
+#: src/views/system/Upgrade.vue:34 src/views/system/Upgrade.vue:38
+#: src/views/system/Upgrade.vue:41 src/views/system/Upgrade.vue:46
 msgid "Release Note"
 msgid "Release Note"
 msgstr ""
 msgstr ""
 
 
-#: src/components/ChatGPT/ChatGPT.vue:21 src/components/ChatGPT/ChatGPT.vue:22
-#: src/components/ChatGPT/ChatGPT.vue:26 src/components/ChatGPT/ChatGPT.vue:28
+#: src/components/ChatGPT/ChatGPT.vue:20 src/components/ChatGPT/ChatGPT.vue:21
+#: src/components/ChatGPT/ChatGPT.vue:25 src/components/ChatGPT/ChatGPT.vue:27
 #: src/components/NginxControl/NginxControl.vue:12
 #: src/components/NginxControl/NginxControl.vue:12
 #: src/components/NginxControl/NginxControl.vue:13
 #: src/components/NginxControl/NginxControl.vue:13
 #: src/components/NginxControl/NginxControl.vue:17
 #: src/components/NginxControl/NginxControl.vue:17
@@ -940,15 +944,16 @@ msgstr "Advance Mode"
 msgid "Running"
 msgid "Running"
 msgstr ""
 msgstr ""
 
 
-#: src/components/ChatGPT/ChatGPT.vue:17 src/components/ChatGPT/ChatGPT.vue:18
-#: src/components/ChatGPT/ChatGPT.vue:22 src/components/ChatGPT/ChatGPT.vue:24
-#: src/views/config/ConfigEdit.vue:78 src/views/domain/DomainEdit.vue:239
+#: src/components/ChatGPT/ChatGPT.vue:16 src/components/ChatGPT/ChatGPT.vue:17
+#: src/components/ChatGPT/ChatGPT.vue:21 src/components/ChatGPT/ChatGPT.vue:23
+#: src/views/config/ConfigEdit.vue:89 src/views/domain/DomainEdit.vue:246
+#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:32
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:33
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:33
-#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:34
+#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:39
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:40
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:40
-#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:41
+#: src/views/preference/Preference.vue:67
 #: src/views/preference/Preference.vue:68
 #: src/views/preference/Preference.vue:68
-#: src/views/preference/Preference.vue:70
+#: src/views/preference/Preference.vue:69
 msgid "Save"
 msgid "Save"
 msgstr "Save"
 msgstr "Save"
 
 
@@ -958,7 +963,7 @@ msgstr "Save"
 msgid "Save Directive"
 msgid "Save Directive"
 msgstr "Save Directive"
 msgstr "Save Directive"
 
 
-#: src/views/config/ConfigEdit.vue:46 src/views/domain/DomainAdd.vue:55
+#: src/views/config/ConfigEdit.vue:53 src/views/domain/DomainAdd.vue:55
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:37
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:37
 msgid "Save error %{msg}"
 msgid "Save error %{msg}"
 msgstr "Save error %{msg}"
 msgstr "Save error %{msg}"
@@ -974,8 +979,8 @@ msgstr "Saved successfully"
 msgid "Save Successfully"
 msgid "Save Successfully"
 msgstr "Saved successfully"
 msgstr "Saved successfully"
 
 
-#: src/views/config/ConfigEdit.vue:44 src/views/domain/DomainAdd.vue:44
-#: src/views/domain/DomainEdit.vue:133
+#: src/views/config/ConfigEdit.vue:51 src/views/domain/DomainAdd.vue:44
+#: src/views/domain/DomainEdit.vue:136
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:35
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:35
 msgid "Saved successfully"
 msgid "Saved successfully"
 msgstr "Saved successfully"
 msgstr "Saved successfully"
@@ -994,7 +999,7 @@ msgstr "Send"
 #: src/components/StdDataDisplay/StdTable.vue:168
 #: src/components/StdDataDisplay/StdTable.vue:168
 #: src/components/StdDataDisplay/StdTable.vue:343
 #: src/components/StdDataDisplay/StdTable.vue:343
 #: src/components/StdDataDisplay/StdTable.vue:463
 #: src/components/StdDataDisplay/StdTable.vue:463
-#: src/views/config/ConfigEdit.vue:32 src/views/domain/DomainList.vue:84
+#: src/views/config/ConfigEdit.vue:37 src/views/domain/DomainList.vue:84
 #: src/views/other/Install.vue:71 src/views/preference/Preference.vue:47
 #: src/views/other/Install.vue:71 src/views/preference/Preference.vue:47
 msgid "Server error"
 msgid "Server error"
 msgstr "Server error"
 msgstr "Server error"
@@ -1003,11 +1008,11 @@ msgstr "Server error"
 msgid "Server Info"
 msgid "Server Info"
 msgstr "Server Info"
 msgstr "Server Info"
 
 
-#: src/views/domain/cert/IssueCert.vue:30
+#: src/views/domain/cert/IssueCert.vue:79
 msgid "server_name not found in directives"
 msgid "server_name not found in directives"
 msgstr "server_name not found in directives"
 msgstr "server_name not found in directives"
 
 
-#: src/views/domain/cert/IssueCert.vue:194 src/views/domain/DomainAdd.vue:111
+#: src/views/domain/cert/IssueCert.vue:235 src/views/domain/DomainAdd.vue:111
 msgid "server_name parameter is required"
 msgid "server_name parameter is required"
 msgstr "server_name parameter is required"
 msgstr "server_name parameter is required"
 
 
@@ -1082,10 +1087,11 @@ msgstr "Terminal"
 msgid "Terminal Start Command"
 msgid "Terminal Start Command"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/cert/IssueCert.vue:206
+#: src/views/domain/cert/IssueCert.vue:248
+#, fuzzy
 msgid ""
 msgid ""
 "The certificate for the domain will be checked every hour, and will be "
 "The certificate for the domain will be checked every hour, and will be "
-"renewed if it has been more than 1 month since it was last issued."
+"renewed if it has been more than 1 week since it was last issued."
 msgstr ""
 msgstr ""
 "The certificate for the domain will be checked every hour, and will be "
 "The certificate for the domain will be checked every hour, and will be "
 "renewed if it has been more than 1 month since it was last issued."
 "renewed if it has been more than 1 month since it was last issued."
@@ -1094,11 +1100,11 @@ msgstr ""
 msgid "The filename cannot contain the following characters: %{c}"
 msgid "The filename cannot contain the following characters: %{c}"
 msgstr "The filename cannot contain the following characters: %{c}"
 msgstr "The filename cannot contain the following characters: %{c}"
 
 
-#: src/views/domain/cert/IssueCert.vue:202
+#: src/views/domain/cert/IssueCert.vue:243
 #, fuzzy
 #, fuzzy
 msgid ""
 msgid ""
 "The server_name in the current configuration must be the domain name you "
 "The server_name in the current configuration must be the domain name you "
-"need to get the certificate."
+"need to get the certificate, support multiple domains."
 msgstr ""
 msgstr ""
 "Note: The server_name in the current configuration must be the domain name "
 "Note: The server_name in the current configuration must be the domain name "
 "you need to get the certificate."
 "you need to get the certificate."
@@ -1115,6 +1121,14 @@ msgstr ""
 msgid "This auto-cert item is invalid, please remove it."
 msgid "This auto-cert item is invalid, please remove it."
 msgstr ""
 msgstr ""
 
 
+#: src/views/domain/ngx_conf/NgxConfigEditor.vue:31
+msgid ""
+"To make sure the certification auto-renewal can work normally, we need to "
+"add a location which can proxy the request from authority to backend, and we "
+"need to save this file and reload the Nginx. Are you sure you want to "
+"continue?"
+msgstr ""
+
 #: src/views/config/config.ts:14
 #: src/views/config/config.ts:14
 msgid "Type"
 msgid "Type"
 msgstr ""
 msgstr ""
@@ -1129,11 +1143,11 @@ msgstr "Updated at"
 msgid "Updated successfully"
 msgid "Updated successfully"
 msgstr "Saved successfully"
 msgstr "Saved successfully"
 
 
-#: src/routes/index.ts:147 src/views/system/Upgrade.vue:16
-#: src/views/system/Upgrade.vue:26 src/views/system/Upgrade.vue:27
-#: src/views/system/Upgrade.vue:31 src/views/system/Upgrade.vue:35
-#: src/views/system/Upgrade.vue:38 src/views/system/Upgrade.vue:41
-#: src/views/system/Upgrade.vue:42
+#: src/routes/index.ts:147 src/views/system/Upgrade.vue:2
+#: src/views/system/Upgrade.vue:24 src/views/system/Upgrade.vue:25
+#: src/views/system/Upgrade.vue:29 src/views/system/Upgrade.vue:33
+#: src/views/system/Upgrade.vue:36 src/views/system/Upgrade.vue:39
+#: src/views/system/Upgrade.vue:40
 msgid "Upgrade"
 msgid "Upgrade"
 msgstr ""
 msgstr ""
 
 
@@ -1162,9 +1176,9 @@ msgstr "Username (*)"
 msgid "Using HTTP01 challenge provider"
 msgid "Using HTTP01 challenge provider"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:10
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:13
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:9
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:10
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:13
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:9
 msgid "View"
 msgid "View"
 msgstr ""
 msgstr ""
 
 
@@ -1173,6 +1187,18 @@ msgstr ""
 msgid "Warning"
 msgid "Warning"
 msgstr "Warning"
 msgstr "Warning"
 
 
+#: src/views/domain/cert/IssueCert.vue:35
+msgid ""
+"We need to add the HTTPChallenge configuration to this file and reload the "
+"Nginx. Are you sure you want to continue?"
+msgstr ""
+
+#: src/views/domain/cert/IssueCert.vue:37
+msgid ""
+"We will remove the HTTPChallenge configuration from this file and reload the "
+"Nginx configuration file. Are you sure you want to continue?"
+msgstr ""
+
 #: src/views/dashboard/DashBoard.vue:102 src/views/dashboard/DashBoard.vue:22
 #: src/views/dashboard/DashBoard.vue:102 src/views/dashboard/DashBoard.vue:22
 #: src/views/dashboard/DashBoard.vue:23
 #: src/views/dashboard/DashBoard.vue:23
 msgid "Writes"
 msgid "Writes"
@@ -1191,12 +1217,12 @@ msgstr ""
 msgid "Yes"
 msgid "Yes"
 msgstr "Yes"
 msgstr "Yes"
 
 
-#: src/views/system/Upgrade.vue:30
+#: src/views/system/Upgrade.vue:28
 msgid "You are using the latest version"
 msgid "You are using the latest version"
 msgstr ""
 msgstr ""
 
 
-#: src/views/system/Upgrade.vue:10 src/views/system/Upgrade.vue:14
-#: src/views/system/Upgrade.vue:18 src/views/system/Upgrade.vue:9
+#: src/views/system/Upgrade.vue:13 src/views/system/Upgrade.vue:17
+#: src/views/system/Upgrade.vue:8 src/views/system/Upgrade.vue:9
 msgid "You can check Nginx UI upgrade at this page."
 msgid "You can check Nginx UI upgrade at this page."
 msgstr ""
 msgstr ""
 
 
@@ -1205,6 +1231,10 @@ msgctxt "Project"
 msgid "License"
 msgid "License"
 msgstr "License"
 msgstr "License"
 
 
+#, fuzzy
+#~ msgid "Inspect Configurations"
+#~ msgstr "Edit Configuration"
+
 #~ msgid "server_name parameters more than one"
 #~ msgid "server_name parameters more than one"
 #~ msgstr "server_name parameters more than one"
 #~ msgstr "server_name parameters more than one"
 
 

+ 156 - 141
frontend/src/language/messages.pot

@@ -20,10 +20,10 @@ msgstr ""
 
 
 #: src/components/StdDataDisplay/StdCurd.vue:145
 #: src/components/StdDataDisplay/StdCurd.vue:145
 #: src/components/StdDataDisplay/StdCurd.vue:25
 #: src/components/StdDataDisplay/StdCurd.vue:25
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:28
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:28
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:34
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:34
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:35
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:35
-#: src/views/domain/ngx_conf/NgxConfigEditor.vue:48
+#: src/views/domain/ngx_conf/NgxConfigEditor.vue:50
 msgid "Add"
 msgid "Add"
 msgstr ""
 msgstr ""
 
 
@@ -63,14 +63,14 @@ msgstr ""
 msgid "API Token"
 msgid "API Token"
 msgstr ""
 msgstr ""
 
 
+#: src/views/system/Upgrade.vue:11
 #: src/views/system/Upgrade.vue:12
 #: src/views/system/Upgrade.vue:12
-#: src/views/system/Upgrade.vue:13
-#: src/views/system/Upgrade.vue:17
-#: src/views/system/Upgrade.vue:21
+#: src/views/system/Upgrade.vue:16
+#: src/views/system/Upgrade.vue:20
 msgid "Arch"
 msgid "Arch"
 msgstr ""
 msgstr ""
 
 
-#: src/components/ChatGPT/ChatGPT.vue:41
+#: src/components/ChatGPT/ChatGPT.vue:40
 msgid "Are you sure you want to clear the record of chat?"
 msgid "Are you sure you want to clear the record of chat?"
 msgstr ""
 msgstr ""
 
 
@@ -87,14 +87,14 @@ msgstr ""
 msgid "Are you sure you want to remove this location?"
 msgid "Are you sure you want to remove this location?"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:12
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:13
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:16
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:17
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:20
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:21
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:25
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:31
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:12
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:13
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:16
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:17
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:20
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:21
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:25
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:31
 msgid "Author"
 msgid "Author"
 msgstr ""
 msgstr ""
 
 
@@ -120,21 +120,21 @@ msgstr ""
 msgid "Auto-Cert Log"
 msgid "Auto-Cert Log"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/cert/IssueCert.vue:71
+#: src/views/domain/cert/IssueCert.vue:121
 msgid "Auto-renewal disabled for %{name}"
 msgid "Auto-renewal disabled for %{name}"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/cert/IssueCert.vue:65
+#: src/views/domain/cert/IssueCert.vue:115
 msgid "Auto-renewal enabled for %{name}"
 msgid "Auto-renewal enabled for %{name}"
 msgstr ""
 msgstr ""
 
 
+#: src/views/config/Config.vue:17
 #: src/views/config/Config.vue:18
 #: src/views/config/Config.vue:18
-#: src/views/config/Config.vue:19
-#: src/views/config/Config.vue:29
-#: src/views/config/Config.vue:7
-#: src/views/config/ConfigEdit.vue:72
-#: src/views/domain/DomainEdit.vue:236
-#: src/views/nginx_log/NginxLog.vue:173
+#: src/views/config/Config.vue:28
+#: src/views/config/Config.vue:6
+#: src/views/config/ConfigEdit.vue:83
+#: src/views/domain/DomainEdit.vue:243
+#: src/views/nginx_log/NginxLog.vue:172
 msgid "Back"
 msgid "Back"
 msgstr ""
 msgstr ""
 
 
@@ -168,10 +168,10 @@ msgstr ""
 msgid "Build with"
 msgid "Build with"
 msgstr ""
 msgstr ""
 
 
+#: src/components/ChatGPT/ChatGPT.vue:17
 #: src/components/ChatGPT/ChatGPT.vue:18
 #: src/components/ChatGPT/ChatGPT.vue:18
-#: src/components/ChatGPT/ChatGPT.vue:19
-#: src/components/ChatGPT/ChatGPT.vue:23
-#: src/components/ChatGPT/ChatGPT.vue:25
+#: src/components/ChatGPT/ChatGPT.vue:22
+#: src/components/ChatGPT/ChatGPT.vue:24
 #: src/components/StdDataDisplay/StdBatchEdit.vue:7
 #: src/components/StdDataDisplay/StdBatchEdit.vue:7
 #: src/components/StdDataDisplay/StdCurd.vue:27
 #: src/components/StdDataDisplay/StdCurd.vue:27
 #: src/components/StdDataEntry/components/StdSelector.vue:11
 #: src/components/StdDataEntry/components/StdSelector.vue:11
@@ -187,7 +187,7 @@ msgid "Certificate is valid"
 msgstr ""
 msgstr ""
 
 
 #: src/views/cert/Cert.vue:34
 #: src/views/cert/Cert.vue:34
-#: src/views/domain/cert/Cert.vue:35
+#: src/views/domain/cert/Cert.vue:36
 msgid "Certificate Status"
 msgid "Certificate Status"
 msgstr ""
 msgstr ""
 
 
@@ -202,34 +202,28 @@ msgstr ""
 msgid "Change Certificate"
 msgid "Change Certificate"
 msgstr ""
 msgstr ""
 
 
-#: src/components/ChatGPT/ChatGPT.vue:48
-#: src/components/ChatGPT/ChatGPT.vue:49
-#: src/components/ChatGPT/ChatGPT.vue:59
-msgid "Chat with ChatGPT"
-msgstr ""
-
 #: src/views/preference/Preference.vue:42
 #: src/views/preference/Preference.vue:42
 msgid "ChatGPT Model"
 msgid "ChatGPT Model"
 msgstr ""
 msgstr ""
 
 
+#: src/views/system/Upgrade.vue:15
 #: src/views/system/Upgrade.vue:16
 #: src/views/system/Upgrade.vue:16
-#: src/views/system/Upgrade.vue:17
-#: src/views/system/Upgrade.vue:21
-#: src/views/system/Upgrade.vue:25
+#: src/views/system/Upgrade.vue:20
+#: src/views/system/Upgrade.vue:24
 msgid "Check again"
 msgid "Check again"
 msgstr ""
 msgstr ""
 
 
+#: src/components/ChatGPT/ChatGPT.vue:31
 #: src/components/ChatGPT/ChatGPT.vue:32
 #: src/components/ChatGPT/ChatGPT.vue:32
-#: src/components/ChatGPT/ChatGPT.vue:33
-#: src/components/ChatGPT/ChatGPT.vue:39
-#: src/components/ChatGPT/ChatGPT.vue:43
+#: src/components/ChatGPT/ChatGPT.vue:38
+#: src/components/ChatGPT/ChatGPT.vue:42
 msgid "Clear"
 msgid "Clear"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:34
+#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:33
 #: src/views/domain/ngx_conf/LocationEditor.vue:35
 #: src/views/domain/ngx_conf/LocationEditor.vue:35
 #: src/views/domain/ngx_conf/LocationEditor.vue:52
 #: src/views/domain/ngx_conf/LocationEditor.vue:52
-#: src/views/domain/ngx_conf/NgxConfigEditor.vue:189
+#: src/views/domain/ngx_conf/NgxConfigEditor.vue:228
 msgid "Comments"
 msgid "Comments"
 msgstr ""
 msgstr ""
 
 
@@ -237,7 +231,7 @@ msgstr ""
 msgid "Config Name"
 msgid "Config Name"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:61
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:81
 msgid "Config Templates"
 msgid "Config Templates"
 msgstr ""
 msgstr ""
 
 
@@ -249,7 +243,7 @@ msgstr ""
 msgid "Configuration Name"
 msgid "Configuration Name"
 msgstr ""
 msgstr ""
 
 
-#: src/views/config/Config.vue:4
+#: src/views/config/Config.vue:2
 msgid "Configurations"
 msgid "Configurations"
 msgstr ""
 msgstr ""
 
 
@@ -257,13 +251,13 @@ msgstr ""
 msgid "Configure SSL"
 msgid "Configure SSL"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:37
+#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:36
 #: src/views/domain/ngx_conf/LocationEditor.vue:41
 #: src/views/domain/ngx_conf/LocationEditor.vue:41
 #: src/views/domain/ngx_conf/LocationEditor.vue:58
 #: src/views/domain/ngx_conf/LocationEditor.vue:58
 msgid "Content"
 msgid "Content"
 msgstr ""
 msgstr ""
 
 
-#: src/views/system/Upgrade.vue:3
+#: src/views/system/Upgrade.vue:4
 msgid "Core Upgrade"
 msgid "Core Upgrade"
 msgstr ""
 msgstr ""
 
 
@@ -289,16 +283,16 @@ msgid "Creating client facilitates communication with the CA server"
 msgstr ""
 msgstr ""
 
 
 #: src/views/system/Upgrade.vue:10
 #: src/views/system/Upgrade.vue:10
-#: src/views/system/Upgrade.vue:11
-#: src/views/system/Upgrade.vue:15
-#: src/views/system/Upgrade.vue:19
+#: src/views/system/Upgrade.vue:14
+#: src/views/system/Upgrade.vue:18
+#: src/views/system/Upgrade.vue:9
 msgid "Current Version"
 msgid "Current Version"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:23
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:24
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:28
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:34
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:24
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:25
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:29
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:35
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:6
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:6
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:7
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:7
 msgid "Custom"
 msgid "Custom"
@@ -340,14 +334,14 @@ msgstr ""
 msgid "Delete site: %{site_name}"
 msgid "Delete site: %{site_name}"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:13
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:14
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:17
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:18
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:21
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:22
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:26
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:32
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:13
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:14
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:17
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:18
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:21
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:22
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:26
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:32
 msgid "Description"
 msgid "Description"
 msgstr ""
 msgstr ""
 
 
@@ -369,7 +363,7 @@ msgstr ""
 msgid "Directives"
 msgid "Directives"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/cert/IssueCert.vue:73
+#: src/views/domain/cert/IssueCert.vue:123
 msgid "Disable auto-renewal failed for %{name}"
 msgid "Disable auto-renewal failed for %{name}"
 msgstr ""
 msgstr ""
 
 
@@ -385,7 +379,7 @@ msgstr ""
 msgid "Disabled"
 msgid "Disabled"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/DomainEdit.vue:151
+#: src/views/domain/DomainEdit.vue:153
 #: src/views/domain/DomainList.vue:70
 #: src/views/domain/DomainList.vue:70
 msgid "Disabled successfully"
 msgid "Disabled successfully"
 msgstr ""
 msgstr ""
@@ -394,6 +388,18 @@ msgstr ""
 msgid "Disk IO"
 msgid "Disk IO"
 msgstr ""
 msgstr ""
 
 
+#: src/views/domain/cert/IssueCert.vue:33
+msgid "Do you want to disable auto-cert renewal?"
+msgstr ""
+
+#: src/views/domain/cert/IssueCert.vue:34
+msgid "Do you want to enable auto-cert renewal?"
+msgstr ""
+
+#: src/views/domain/ngx_conf/NgxConfigEditor.vue:30
+msgid "Do you want to enable TLS?"
+msgstr ""
+
 #: src/views/domain/DomainAdd.vue:58
 #: src/views/domain/DomainAdd.vue:58
 msgid "Domain Config Created Successfully"
 msgid "Domain Config Created Successfully"
 msgstr ""
 msgstr ""
@@ -440,7 +446,7 @@ msgstr ""
 msgid "Email (*)"
 msgid "Email (*)"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/cert/IssueCert.vue:67
+#: src/views/domain/cert/IssueCert.vue:117
 msgid "Enable auto-renewal failed for %{name}"
 msgid "Enable auto-renewal failed for %{name}"
 msgstr ""
 msgstr ""
 
 
@@ -466,7 +472,7 @@ msgid "Enabled"
 msgstr ""
 msgstr ""
 
 
 #: src/views/domain/DomainAdd.vue:47
 #: src/views/domain/DomainAdd.vue:47
-#: src/views/domain/DomainEdit.vue:142
+#: src/views/domain/DomainEdit.vue:144
 #: src/views/domain/DomainList.vue:60
 #: src/views/domain/DomainList.vue:60
 msgid "Enabled successfully"
 msgid "Enabled successfully"
 msgstr ""
 msgstr ""
@@ -484,10 +490,10 @@ msgstr ""
 msgid "Error Logs"
 msgid "Error Logs"
 msgstr ""
 msgstr ""
 
 
+#: src/views/system/Upgrade.vue:12
 #: src/views/system/Upgrade.vue:13
 #: src/views/system/Upgrade.vue:13
-#: src/views/system/Upgrade.vue:14
-#: src/views/system/Upgrade.vue:18
-#: src/views/system/Upgrade.vue:22
+#: src/views/system/Upgrade.vue:17
+#: src/views/system/Upgrade.vue:21
 msgid "Executable Path"
 msgid "Executable Path"
 msgstr ""
 msgstr ""
 
 
@@ -502,12 +508,12 @@ msgstr ""
 msgid "Export"
 msgid "Export"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/DomainEdit.vue:154
+#: src/views/domain/DomainEdit.vue:156
 #: src/views/domain/DomainList.vue:74
 #: src/views/domain/DomainList.vue:74
 msgid "Failed to disable %{msg}"
 msgid "Failed to disable %{msg}"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/DomainEdit.vue:145
+#: src/views/domain/DomainEdit.vue:147
 #: src/views/domain/DomainList.vue:64
 #: src/views/domain/DomainList.vue:64
 msgid "Failed to enable %{msg}"
 msgid "Failed to enable %{msg}"
 msgstr ""
 msgstr ""
@@ -542,15 +548,15 @@ msgstr ""
 msgid "Finished"
 msgid "Finished"
 msgstr ""
 msgstr ""
 
 
-#: src/views/config/ConfigEdit.vue:75
+#: src/views/config/ConfigEdit.vue:86
 msgid "Format Code"
 msgid "Format Code"
 msgstr ""
 msgstr ""
 
 
-#: src/views/config/ConfigEdit.vue:57
+#: src/views/config/ConfigEdit.vue:64
 msgid "Format error %{msg}"
 msgid "Format error %{msg}"
 msgstr ""
 msgstr ""
 
 
-#: src/views/config/ConfigEdit.vue:55
+#: src/views/config/ConfigEdit.vue:62
 msgid "Format successfully"
 msgid "Format successfully"
 msgstr ""
 msgstr ""
 
 
@@ -562,7 +568,7 @@ msgstr ""
 msgid "Generating private key for registering account"
 msgid "Generating private key for registering account"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/cert/IssueCert.vue:96
+#: src/views/domain/cert/IssueCert.vue:146
 msgid "Getting the certificate, please wait..."
 msgid "Getting the certificate, please wait..."
 msgstr ""
 msgstr ""
 
 
@@ -601,10 +607,6 @@ msgstr ""
 msgid "Initialing core upgrader"
 msgid "Initialing core upgrader"
 msgstr ""
 msgstr ""
 
 
-#: src/views/config/InspectConfig.vue:2
-msgid "Inspect Configurations"
-msgstr ""
-
 #: src/routes/index.ts:155
 #: src/routes/index.ts:155
 #: src/views/other/Install.vue:128
 #: src/views/other/Install.vue:128
 msgid "Install"
 msgid "Install"
@@ -626,10 +628,10 @@ msgstr ""
 msgid "Jwt Secret"
 msgid "Jwt Secret"
 msgstr ""
 msgstr ""
 
 
+#: src/views/system/Upgrade.vue:13
 #: src/views/system/Upgrade.vue:14
 #: src/views/system/Upgrade.vue:14
-#: src/views/system/Upgrade.vue:15
-#: src/views/system/Upgrade.vue:19
-#: src/views/system/Upgrade.vue:23
+#: src/views/system/Upgrade.vue:18
+#: src/views/system/Upgrade.vue:22
 msgid "Last checked at"
 msgid "Last checked at"
 msgstr ""
 msgstr ""
 
 
@@ -673,8 +675,8 @@ msgstr ""
 msgid "Logout successful"
 msgid "Logout successful"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/cert/IssueCert.vue:210
-msgid "Make sure you have configured a reverse proxy for .well-known directory to HTTPChallengePort (default: 9180) before getting the certificate."
+#: src/views/domain/cert/IssueCert.vue:252
+msgid "Make sure you have configured a reverse proxy for .well-known directory to HTTPChallengePort before obtaining the certificate."
 msgstr ""
 msgstr ""
 
 
 #: src/routes/index.ts:72
 #: src/routes/index.ts:72
@@ -699,10 +701,10 @@ msgstr ""
 msgid "Memory and Storage"
 msgid "Memory and Storage"
 msgstr ""
 msgstr ""
 
 
+#: src/components/ChatGPT/ChatGPT.vue:13
 #: src/components/ChatGPT/ChatGPT.vue:14
 #: src/components/ChatGPT/ChatGPT.vue:14
-#: src/components/ChatGPT/ChatGPT.vue:15
-#: src/components/ChatGPT/ChatGPT.vue:19
-#: src/components/ChatGPT/ChatGPT.vue:21
+#: src/components/ChatGPT/ChatGPT.vue:18
+#: src/components/ChatGPT/ChatGPT.vue:20
 #: src/components/StdDataDisplay/StdCurd.vue:25
 #: src/components/StdDataDisplay/StdCurd.vue:25
 #: src/components/StdDataDisplay/StdTable.vue:25
 #: src/components/StdDataDisplay/StdTable.vue:25
 #: src/components/StdDataDisplay/StdTable.vue:26
 #: src/components/StdDataDisplay/StdTable.vue:26
@@ -746,7 +748,7 @@ msgstr ""
 msgid "Network Total Send"
 msgid "Network Total Send"
 msgstr ""
 msgstr ""
 
 
-#: src/views/system/Upgrade.vue:34
+#: src/views/system/Upgrade.vue:32
 msgid "New version released"
 msgid "New version released"
 msgstr ""
 msgstr ""
 
 
@@ -787,7 +789,7 @@ msgstr ""
 msgid "Nginx restarted successfully"
 msgid "Nginx restarted successfully"
 msgstr ""
 msgstr ""
 
 
-#: src/components/ChatGPT/ChatGPT.vue:39
+#: src/components/ChatGPT/ChatGPT.vue:38
 #: src/components/StdDataDisplay/StdTable.vue:53
 #: src/components/StdDataDisplay/StdTable.vue:53
 #: src/views/domain/DomainList.vue:27
 #: src/views/domain/DomainList.vue:27
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:22
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:22
@@ -813,7 +815,7 @@ msgstr ""
 msgid "Obtaining certificate"
 msgid "Obtaining certificate"
 msgstr ""
 msgstr ""
 
 
-#: src/components/ChatGPT/ChatGPT.vue:40
+#: src/components/ChatGPT/ChatGPT.vue:39
 #: src/components/StdDataDisplay/StdBatchEdit.vue:8
 #: src/components/StdDataDisplay/StdBatchEdit.vue:8
 #: src/components/StdDataDisplay/StdCurd.vue:28
 #: src/components/StdDataDisplay/StdCurd.vue:28
 #: src/components/StdDataDisplay/StdTable.vue:54
 #: src/components/StdDataDisplay/StdTable.vue:54
@@ -827,10 +829,10 @@ msgstr ""
 msgid "OpenAI"
 msgid "OpenAI"
 msgstr ""
 msgstr ""
 
 
+#: src/views/system/Upgrade.vue:10
 #: src/views/system/Upgrade.vue:11
 #: src/views/system/Upgrade.vue:11
-#: src/views/system/Upgrade.vue:12
-#: src/views/system/Upgrade.vue:16
-#: src/views/system/Upgrade.vue:20
+#: src/views/system/Upgrade.vue:15
+#: src/views/system/Upgrade.vue:19
 msgid "OS"
 msgid "OS"
 msgstr ""
 msgstr ""
 
 
@@ -912,10 +914,10 @@ msgstr ""
 msgid "Receive"
 msgid "Receive"
 msgstr ""
 msgstr ""
 
 
+#: src/components/ChatGPT/ChatGPT.vue:34
 #: src/components/ChatGPT/ChatGPT.vue:35
 #: src/components/ChatGPT/ChatGPT.vue:35
-#: src/components/ChatGPT/ChatGPT.vue:36
-#: src/components/ChatGPT/ChatGPT.vue:42
-#: src/components/ChatGPT/ChatGPT.vue:46
+#: src/components/ChatGPT/ChatGPT.vue:41
+#: src/components/ChatGPT/ChatGPT.vue:45
 msgid "Regenerate response"
 msgid "Regenerate response"
 msgstr ""
 msgstr ""
 
 
@@ -923,28 +925,28 @@ msgstr ""
 msgid "Registering user"
 msgid "Registering user"
 msgstr ""
 msgstr ""
 
 
-#: src/views/system/Upgrade.vue:24
-#: src/views/system/Upgrade.vue:25
-#: src/views/system/Upgrade.vue:29
-#: src/views/system/Upgrade.vue:33
-#: src/views/system/Upgrade.vue:36
-#: src/views/system/Upgrade.vue:39
+#: src/views/system/Upgrade.vue:22
+#: src/views/system/Upgrade.vue:23
+#: src/views/system/Upgrade.vue:27
+#: src/views/system/Upgrade.vue:31
+#: src/views/system/Upgrade.vue:34
+#: src/views/system/Upgrade.vue:37
 msgid "Reinstall"
 msgid "Reinstall"
 msgstr ""
 msgstr ""
 
 
-#: src/views/system/Upgrade.vue:31
-#: src/views/system/Upgrade.vue:32
-#: src/views/system/Upgrade.vue:36
-#: src/views/system/Upgrade.vue:40
-#: src/views/system/Upgrade.vue:43
-#: src/views/system/Upgrade.vue:48
+#: src/views/system/Upgrade.vue:29
+#: src/views/system/Upgrade.vue:30
+#: src/views/system/Upgrade.vue:34
+#: src/views/system/Upgrade.vue:38
+#: src/views/system/Upgrade.vue:41
+#: src/views/system/Upgrade.vue:46
 msgid "Release Note"
 msgid "Release Note"
 msgstr ""
 msgstr ""
 
 
+#: src/components/ChatGPT/ChatGPT.vue:20
 #: src/components/ChatGPT/ChatGPT.vue:21
 #: src/components/ChatGPT/ChatGPT.vue:21
-#: src/components/ChatGPT/ChatGPT.vue:22
-#: src/components/ChatGPT/ChatGPT.vue:26
-#: src/components/ChatGPT/ChatGPT.vue:28
+#: src/components/ChatGPT/ChatGPT.vue:25
+#: src/components/ChatGPT/ChatGPT.vue:27
 #: src/components/NginxControl/NginxControl.vue:12
 #: src/components/NginxControl/NginxControl.vue:12
 #: src/components/NginxControl/NginxControl.vue:13
 #: src/components/NginxControl/NginxControl.vue:13
 #: src/components/NginxControl/NginxControl.vue:17
 #: src/components/NginxControl/NginxControl.vue:17
@@ -983,18 +985,19 @@ msgstr ""
 msgid "Running"
 msgid "Running"
 msgstr ""
 msgstr ""
 
 
+#: src/components/ChatGPT/ChatGPT.vue:16
 #: src/components/ChatGPT/ChatGPT.vue:17
 #: src/components/ChatGPT/ChatGPT.vue:17
-#: src/components/ChatGPT/ChatGPT.vue:18
-#: src/components/ChatGPT/ChatGPT.vue:22
-#: src/components/ChatGPT/ChatGPT.vue:24
-#: src/views/config/ConfigEdit.vue:78
-#: src/views/domain/DomainEdit.vue:239
+#: src/components/ChatGPT/ChatGPT.vue:21
+#: src/components/ChatGPT/ChatGPT.vue:23
+#: src/views/config/ConfigEdit.vue:89
+#: src/views/domain/DomainEdit.vue:246
+#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:32
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:33
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:33
-#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:34
+#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:39
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:40
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:40
-#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:41
+#: src/views/preference/Preference.vue:67
 #: src/views/preference/Preference.vue:68
 #: src/views/preference/Preference.vue:68
-#: src/views/preference/Preference.vue:70
+#: src/views/preference/Preference.vue:69
 msgid "Save"
 msgid "Save"
 msgstr ""
 msgstr ""
 
 
@@ -1004,7 +1007,7 @@ msgstr ""
 msgid "Save Directive"
 msgid "Save Directive"
 msgstr ""
 msgstr ""
 
 
-#: src/views/config/ConfigEdit.vue:46
+#: src/views/config/ConfigEdit.vue:53
 #: src/views/domain/DomainAdd.vue:55
 #: src/views/domain/DomainAdd.vue:55
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:37
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:37
 msgid "Save error %{msg}"
 msgid "Save error %{msg}"
@@ -1019,9 +1022,9 @@ msgstr ""
 msgid "Save Successfully"
 msgid "Save Successfully"
 msgstr ""
 msgstr ""
 
 
-#: src/views/config/ConfigEdit.vue:44
+#: src/views/config/ConfigEdit.vue:51
 #: src/views/domain/DomainAdd.vue:44
 #: src/views/domain/DomainAdd.vue:44
-#: src/views/domain/DomainEdit.vue:133
+#: src/views/domain/DomainEdit.vue:136
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:35
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:35
 msgid "Saved successfully"
 msgid "Saved successfully"
 msgstr ""
 msgstr ""
@@ -1041,7 +1044,7 @@ msgstr ""
 #: src/components/StdDataDisplay/StdTable.vue:168
 #: src/components/StdDataDisplay/StdTable.vue:168
 #: src/components/StdDataDisplay/StdTable.vue:343
 #: src/components/StdDataDisplay/StdTable.vue:343
 #: src/components/StdDataDisplay/StdTable.vue:463
 #: src/components/StdDataDisplay/StdTable.vue:463
-#: src/views/config/ConfigEdit.vue:32
+#: src/views/config/ConfigEdit.vue:37
 #: src/views/domain/DomainList.vue:84
 #: src/views/domain/DomainList.vue:84
 #: src/views/other/Install.vue:71
 #: src/views/other/Install.vue:71
 #: src/views/preference/Preference.vue:47
 #: src/views/preference/Preference.vue:47
@@ -1052,11 +1055,11 @@ msgstr ""
 msgid "Server Info"
 msgid "Server Info"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/cert/IssueCert.vue:30
+#: src/views/domain/cert/IssueCert.vue:79
 msgid "server_name not found in directives"
 msgid "server_name not found in directives"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/cert/IssueCert.vue:194
+#: src/views/domain/cert/IssueCert.vue:235
 #: src/views/domain/DomainAdd.vue:111
 #: src/views/domain/DomainAdd.vue:111
 msgid "server_name parameter is required"
 msgid "server_name parameter is required"
 msgstr ""
 msgstr ""
@@ -1127,16 +1130,16 @@ msgstr ""
 msgid "Terminal Start Command"
 msgid "Terminal Start Command"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/cert/IssueCert.vue:206
-msgid "The certificate for the domain will be checked every hour, and will be renewed if it has been more than 1 month since it was last issued."
+#: src/views/domain/cert/IssueCert.vue:248
+msgid "The certificate for the domain will be checked every hour, and will be renewed if it has been more than 1 week since it was last issued."
 msgstr ""
 msgstr ""
 
 
 #: src/views/other/Install.vue:54
 #: src/views/other/Install.vue:54
 msgid "The filename cannot contain the following characters: %{c}"
 msgid "The filename cannot contain the following characters: %{c}"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/cert/IssueCert.vue:202
-msgid "The server_name in the current configuration must be the domain name you need to get the certificate."
+#: src/views/domain/cert/IssueCert.vue:243
+msgid "The server_name in the current configuration must be the domain name you need to get the certificate, support multiple domains."
 msgstr ""
 msgstr ""
 
 
 #: src/language/constants.ts:6
 #: src/language/constants.ts:6
@@ -1151,6 +1154,10 @@ msgstr ""
 msgid "This auto-cert item is invalid, please remove it."
 msgid "This auto-cert item is invalid, please remove it."
 msgstr ""
 msgstr ""
 
 
+#: src/views/domain/ngx_conf/NgxConfigEditor.vue:31
+msgid "To make sure the certification auto-renewal can work normally, we need to add a location which can proxy the request from authority to backend, and we need to save this file and reload the Nginx. Are you sure you want to continue?"
+msgstr ""
+
 #: src/views/config/config.ts:14
 #: src/views/config/config.ts:14
 msgid "Type"
 msgid "Type"
 msgstr ""
 msgstr ""
@@ -1167,14 +1174,14 @@ msgid "Updated successfully"
 msgstr ""
 msgstr ""
 
 
 #: src/routes/index.ts:147
 #: src/routes/index.ts:147
-#: src/views/system/Upgrade.vue:16
-#: src/views/system/Upgrade.vue:26
-#: src/views/system/Upgrade.vue:27
-#: src/views/system/Upgrade.vue:31
-#: src/views/system/Upgrade.vue:35
-#: src/views/system/Upgrade.vue:38
-#: src/views/system/Upgrade.vue:41
-#: src/views/system/Upgrade.vue:42
+#: src/views/system/Upgrade.vue:2
+#: src/views/system/Upgrade.vue:24
+#: src/views/system/Upgrade.vue:25
+#: src/views/system/Upgrade.vue:29
+#: src/views/system/Upgrade.vue:33
+#: src/views/system/Upgrade.vue:36
+#: src/views/system/Upgrade.vue:39
+#: src/views/system/Upgrade.vue:40
 msgid "Upgrade"
 msgid "Upgrade"
 msgstr ""
 msgstr ""
 
 
@@ -1203,9 +1210,9 @@ msgstr ""
 msgid "Using HTTP01 challenge provider"
 msgid "Using HTTP01 challenge provider"
 msgstr ""
 msgstr ""
 
 
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:10
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:13
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:9
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:10
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:13
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:9
 msgid "View"
 msgid "View"
 msgstr ""
 msgstr ""
 
 
@@ -1215,6 +1222,14 @@ msgstr ""
 msgid "Warning"
 msgid "Warning"
 msgstr ""
 msgstr ""
 
 
+#: src/views/domain/cert/IssueCert.vue:35
+msgid "We need to add the HTTPChallenge configuration to this file and reload the Nginx. Are you sure you want to continue?"
+msgstr ""
+
+#: src/views/domain/cert/IssueCert.vue:37
+msgid "We will remove the HTTPChallenge configuration from this file and reload the Nginx configuration file. Are you sure you want to continue?"
+msgstr ""
+
 #: src/views/dashboard/DashBoard.vue:102
 #: src/views/dashboard/DashBoard.vue:102
 #: src/views/dashboard/DashBoard.vue:22
 #: src/views/dashboard/DashBoard.vue:22
 #: src/views/dashboard/DashBoard.vue:23
 #: src/views/dashboard/DashBoard.vue:23
@@ -1234,13 +1249,13 @@ msgstr ""
 msgid "Yes"
 msgid "Yes"
 msgstr ""
 msgstr ""
 
 
-#: src/views/system/Upgrade.vue:30
+#: src/views/system/Upgrade.vue:28
 msgid "You are using the latest version"
 msgid "You are using the latest version"
 msgstr ""
 msgstr ""
 
 
-#: src/views/system/Upgrade.vue:10
-#: src/views/system/Upgrade.vue:14
-#: src/views/system/Upgrade.vue:18
+#: src/views/system/Upgrade.vue:13
+#: src/views/system/Upgrade.vue:17
+#: src/views/system/Upgrade.vue:8
 #: src/views/system/Upgrade.vue:9
 #: src/views/system/Upgrade.vue:9
 msgid "You can check Nginx UI upgrade at this page."
 msgid "You can check Nginx UI upgrade at this page."
 msgstr ""
 msgstr ""

File diff suppressed because it is too large
+ 0 - 0
frontend/src/language/translations.json


BIN
frontend/src/language/zh_CN/app.mo


+ 153 - 120
frontend/src/language/zh_CN/app.po

@@ -27,10 +27,10 @@ msgstr "操作"
 
 
 #: src/components/StdDataDisplay/StdCurd.vue:145
 #: src/components/StdDataDisplay/StdCurd.vue:145
 #: src/components/StdDataDisplay/StdCurd.vue:25
 #: src/components/StdDataDisplay/StdCurd.vue:25
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:28
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:28
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:34
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:34
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:35
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:35
-#: src/views/domain/ngx_conf/NgxConfigEditor.vue:48
+#: src/views/domain/ngx_conf/NgxConfigEditor.vue:50
 msgid "Add"
 msgid "Add"
 msgstr "添加"
 msgstr "添加"
 
 
@@ -68,12 +68,12 @@ msgstr "API 代理"
 msgid "API Token"
 msgid "API Token"
 msgstr "API Token"
 msgstr "API Token"
 
 
-#: src/views/system/Upgrade.vue:12 src/views/system/Upgrade.vue:13
-#: src/views/system/Upgrade.vue:17 src/views/system/Upgrade.vue:21
+#: src/views/system/Upgrade.vue:11 src/views/system/Upgrade.vue:12
+#: src/views/system/Upgrade.vue:16 src/views/system/Upgrade.vue:20
 msgid "Arch"
 msgid "Arch"
 msgstr "架构"
 msgstr "架构"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:41
+#: src/components/ChatGPT/ChatGPT.vue:40
 msgid "Are you sure you want to clear the record of chat?"
 msgid "Are you sure you want to clear the record of chat?"
 msgstr "你确定你要清除聊天记录吗?"
 msgstr "你确定你要清除聊天记录吗?"
 
 
@@ -90,14 +90,14 @@ msgstr "您确定要删除这条指令?"
 msgid "Are you sure you want to remove this location?"
 msgid "Are you sure you want to remove this location?"
 msgstr "您确定要删除这个 Location?"
 msgstr "您确定要删除这个 Location?"
 
 
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:12
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:13
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:16
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:17
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:20
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:21
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:25
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:31
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:12
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:13
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:16
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:17
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:20
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:21
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:25
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:31
 msgid "Author"
 msgid "Author"
 msgstr "作者"
 msgstr "作者"
 
 
@@ -122,18 +122,18 @@ msgstr "自动刷新"
 msgid "Auto-Cert Log"
 msgid "Auto-Cert Log"
 msgstr "证书自动续期日志"
 msgstr "证书自动续期日志"
 
 
-#: src/views/domain/cert/IssueCert.vue:71
+#: src/views/domain/cert/IssueCert.vue:121
 msgid "Auto-renewal disabled for %{name}"
 msgid "Auto-renewal disabled for %{name}"
 msgstr "成功关闭 %{name} 自动续签"
 msgstr "成功关闭 %{name} 自动续签"
 
 
-#: src/views/domain/cert/IssueCert.vue:65
+#: src/views/domain/cert/IssueCert.vue:115
 msgid "Auto-renewal enabled for %{name}"
 msgid "Auto-renewal enabled for %{name}"
 msgstr "成功启用 %{name} 自动续签"
 msgstr "成功启用 %{name} 自动续签"
 
 
-#: src/views/config/Config.vue:18 src/views/config/Config.vue:19
-#: src/views/config/Config.vue:29 src/views/config/Config.vue:7
-#: src/views/config/ConfigEdit.vue:72 src/views/domain/DomainEdit.vue:236
-#: src/views/nginx_log/NginxLog.vue:173
+#: src/views/config/Config.vue:17 src/views/config/Config.vue:18
+#: src/views/config/Config.vue:28 src/views/config/Config.vue:6
+#: src/views/config/ConfigEdit.vue:83 src/views/domain/DomainEdit.vue:243
+#: src/views/nginx_log/NginxLog.vue:172
 msgid "Back"
 msgid "Back"
 msgstr "返回"
 msgstr "返回"
 
 
@@ -165,8 +165,8 @@ msgstr "批量修改"
 msgid "Build with"
 msgid "Build with"
 msgstr "构建基于"
 msgstr "构建基于"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:18 src/components/ChatGPT/ChatGPT.vue:19
-#: src/components/ChatGPT/ChatGPT.vue:23 src/components/ChatGPT/ChatGPT.vue:25
+#: src/components/ChatGPT/ChatGPT.vue:17 src/components/ChatGPT/ChatGPT.vue:18
+#: src/components/ChatGPT/ChatGPT.vue:22 src/components/ChatGPT/ChatGPT.vue:24
 #: src/components/StdDataDisplay/StdBatchEdit.vue:7
 #: src/components/StdDataDisplay/StdBatchEdit.vue:7
 #: src/components/StdDataDisplay/StdCurd.vue:27
 #: src/components/StdDataDisplay/StdCurd.vue:27
 #: src/components/StdDataEntry/components/StdSelector.vue:11
 #: src/components/StdDataEntry/components/StdSelector.vue:11
@@ -181,7 +181,7 @@ msgstr "此证书已过期"
 msgid "Certificate is valid"
 msgid "Certificate is valid"
 msgstr "此证书有效"
 msgstr "此证书有效"
 
 
-#: src/views/cert/Cert.vue:34 src/views/domain/cert/Cert.vue:35
+#: src/views/cert/Cert.vue:34 src/views/domain/cert/Cert.vue:36
 msgid "Certificate Status"
 msgid "Certificate Status"
 msgstr "证书状态"
 msgstr "证书状态"
 
 
@@ -195,29 +195,24 @@ msgstr "证书"
 msgid "Change Certificate"
 msgid "Change Certificate"
 msgstr "更改证书"
 msgstr "更改证书"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:48 src/components/ChatGPT/ChatGPT.vue:49
-#: src/components/ChatGPT/ChatGPT.vue:59
-msgid "Chat with ChatGPT"
-msgstr "与ChatGPT聊天"
-
 #: src/views/preference/Preference.vue:42
 #: src/views/preference/Preference.vue:42
 msgid "ChatGPT Model"
 msgid "ChatGPT Model"
 msgstr "ChatGPT 模型"
 msgstr "ChatGPT 模型"
 
 
-#: src/views/system/Upgrade.vue:16 src/views/system/Upgrade.vue:17
-#: src/views/system/Upgrade.vue:21 src/views/system/Upgrade.vue:25
+#: src/views/system/Upgrade.vue:15 src/views/system/Upgrade.vue:16
+#: src/views/system/Upgrade.vue:20 src/views/system/Upgrade.vue:24
 msgid "Check again"
 msgid "Check again"
 msgstr "重新检查"
 msgstr "重新检查"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:32 src/components/ChatGPT/ChatGPT.vue:33
-#: src/components/ChatGPT/ChatGPT.vue:39 src/components/ChatGPT/ChatGPT.vue:43
+#: src/components/ChatGPT/ChatGPT.vue:31 src/components/ChatGPT/ChatGPT.vue:32
+#: src/components/ChatGPT/ChatGPT.vue:38 src/components/ChatGPT/ChatGPT.vue:42
 msgid "Clear"
 msgid "Clear"
 msgstr "清空"
 msgstr "清空"
 
 
-#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:34
+#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:33
 #: src/views/domain/ngx_conf/LocationEditor.vue:35
 #: src/views/domain/ngx_conf/LocationEditor.vue:35
 #: src/views/domain/ngx_conf/LocationEditor.vue:52
 #: src/views/domain/ngx_conf/LocationEditor.vue:52
-#: src/views/domain/ngx_conf/NgxConfigEditor.vue:189
+#: src/views/domain/ngx_conf/NgxConfigEditor.vue:228
 msgid "Comments"
 msgid "Comments"
 msgstr "注释"
 msgstr "注释"
 
 
@@ -225,7 +220,7 @@ msgstr "注释"
 msgid "Config Name"
 msgid "Config Name"
 msgstr "配置文件名称"
 msgstr "配置文件名称"
 
 
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:61
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:81
 msgid "Config Templates"
 msgid "Config Templates"
 msgstr "配置"
 msgstr "配置"
 
 
@@ -237,7 +232,7 @@ msgstr "配置文件测试成功"
 msgid "Configuration Name"
 msgid "Configuration Name"
 msgstr "配置名称"
 msgstr "配置名称"
 
 
-#: src/views/config/Config.vue:4
+#: src/views/config/Config.vue:2
 msgid "Configurations"
 msgid "Configurations"
 msgstr "配置"
 msgstr "配置"
 
 
@@ -245,13 +240,13 @@ msgstr "配置"
 msgid "Configure SSL"
 msgid "Configure SSL"
 msgstr "配置 SSL"
 msgstr "配置 SSL"
 
 
-#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:37
+#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:36
 #: src/views/domain/ngx_conf/LocationEditor.vue:41
 #: src/views/domain/ngx_conf/LocationEditor.vue:41
 #: src/views/domain/ngx_conf/LocationEditor.vue:58
 #: src/views/domain/ngx_conf/LocationEditor.vue:58
 msgid "Content"
 msgid "Content"
 msgstr "内容"
 msgstr "内容"
 
 
-#: src/views/system/Upgrade.vue:3
+#: src/views/system/Upgrade.vue:4
 msgid "Core Upgrade"
 msgid "Core Upgrade"
 msgstr "核心升级"
 msgstr "核心升级"
 
 
@@ -275,15 +270,15 @@ msgstr "创建时间"
 msgid "Creating client facilitates communication with the CA server"
 msgid "Creating client facilitates communication with the CA server"
 msgstr "正在创建客户端用于与 CA 服务器通信"
 msgstr "正在创建客户端用于与 CA 服务器通信"
 
 
-#: src/views/system/Upgrade.vue:10 src/views/system/Upgrade.vue:11
-#: src/views/system/Upgrade.vue:15 src/views/system/Upgrade.vue:19
+#: src/views/system/Upgrade.vue:10 src/views/system/Upgrade.vue:14
+#: src/views/system/Upgrade.vue:18 src/views/system/Upgrade.vue:9
 msgid "Current Version"
 msgid "Current Version"
 msgstr "当前版本"
 msgstr "当前版本"
 
 
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:23
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:24
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:28
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:34
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:24
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:25
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:29
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:35
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:6
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:6
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:7
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:7
 msgid "Custom"
 msgid "Custom"
@@ -323,14 +318,14 @@ msgstr "删除 ID: %{id}"
 msgid "Delete site: %{site_name}"
 msgid "Delete site: %{site_name}"
 msgstr "删除站点: %{site_name}"
 msgstr "删除站点: %{site_name}"
 
 
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:13
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:14
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:17
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:18
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:21
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:22
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:26
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:32
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:13
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:14
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:17
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:18
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:21
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:22
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:26
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:32
 msgid "Description"
 msgid "Description"
 msgstr "描述"
 msgstr "描述"
 
 
@@ -351,7 +346,7 @@ msgstr "指令"
 msgid "Directives"
 msgid "Directives"
 msgstr "指令"
 msgstr "指令"
 
 
-#: src/views/domain/cert/IssueCert.vue:73
+#: src/views/domain/cert/IssueCert.vue:123
 msgid "Disable auto-renewal failed for %{name}"
 msgid "Disable auto-renewal failed for %{name}"
 msgstr "关闭 %{name} 自动续签失败"
 msgstr "关闭 %{name} 自动续签失败"
 
 
@@ -363,7 +358,7 @@ msgstr "关闭 %{name} 自动续签失败"
 msgid "Disabled"
 msgid "Disabled"
 msgstr "禁用"
 msgstr "禁用"
 
 
-#: src/views/domain/DomainEdit.vue:151 src/views/domain/DomainList.vue:70
+#: src/views/domain/DomainEdit.vue:153 src/views/domain/DomainList.vue:70
 msgid "Disabled successfully"
 msgid "Disabled successfully"
 msgstr "禁用成功"
 msgstr "禁用成功"
 
 
@@ -371,6 +366,18 @@ msgstr "禁用成功"
 msgid "Disk IO"
 msgid "Disk IO"
 msgstr "磁盘 IO"
 msgstr "磁盘 IO"
 
 
+#: src/views/domain/cert/IssueCert.vue:33
+msgid "Do you want to disable auto-cert renewal?"
+msgstr "你想禁用自动更新证书吗?"
+
+#: src/views/domain/cert/IssueCert.vue:34
+msgid "Do you want to enable auto-cert renewal?"
+msgstr "你想启用自动更新证书吗?"
+
+#: src/views/domain/ngx_conf/NgxConfigEditor.vue:30
+msgid "Do you want to enable TLS?"
+msgstr "你想启用TLS吗?"
+
 #: src/views/domain/DomainAdd.vue:58
 #: src/views/domain/DomainAdd.vue:58
 msgid "Domain Config Created Successfully"
 msgid "Domain Config Created Successfully"
 msgstr "域名配置文件创建成功"
 msgstr "域名配置文件创建成功"
@@ -413,7 +420,7 @@ msgstr "编辑站点"
 msgid "Email (*)"
 msgid "Email (*)"
 msgstr "邮箱 (*)"
 msgstr "邮箱 (*)"
 
 
-#: src/views/domain/cert/IssueCert.vue:67
+#: src/views/domain/cert/IssueCert.vue:117
 msgid "Enable auto-renewal failed for %{name}"
 msgid "Enable auto-renewal failed for %{name}"
 msgstr "启用 %{name} 自动续签失败"
 msgstr "启用 %{name} 自动续签失败"
 
 
@@ -433,7 +440,7 @@ msgstr "启用 TLS"
 msgid "Enabled"
 msgid "Enabled"
 msgstr "启用"
 msgstr "启用"
 
 
-#: src/views/domain/DomainAdd.vue:47 src/views/domain/DomainEdit.vue:142
+#: src/views/domain/DomainAdd.vue:47 src/views/domain/DomainEdit.vue:144
 #: src/views/domain/DomainList.vue:60
 #: src/views/domain/DomainList.vue:60
 msgid "Enabled successfully"
 msgid "Enabled successfully"
 msgstr "启用成功"
 msgstr "启用成功"
@@ -450,8 +457,8 @@ msgstr "错误"
 msgid "Error Logs"
 msgid "Error Logs"
 msgstr "错误日志"
 msgstr "错误日志"
 
 
-#: src/views/system/Upgrade.vue:13 src/views/system/Upgrade.vue:14
-#: src/views/system/Upgrade.vue:18 src/views/system/Upgrade.vue:22
+#: src/views/system/Upgrade.vue:12 src/views/system/Upgrade.vue:13
+#: src/views/system/Upgrade.vue:17 src/views/system/Upgrade.vue:21
 msgid "Executable Path"
 msgid "Executable Path"
 msgstr "可执行文件路径"
 msgstr "可执行文件路径"
 
 
@@ -466,11 +473,11 @@ msgstr "过期时间: %{date}"
 msgid "Export"
 msgid "Export"
 msgstr "导出"
 msgstr "导出"
 
 
-#: src/views/domain/DomainEdit.vue:154 src/views/domain/DomainList.vue:74
+#: src/views/domain/DomainEdit.vue:156 src/views/domain/DomainList.vue:74
 msgid "Failed to disable %{msg}"
 msgid "Failed to disable %{msg}"
 msgstr "禁用失败 %{msg}"
 msgstr "禁用失败 %{msg}"
 
 
-#: src/views/domain/DomainEdit.vue:145 src/views/domain/DomainList.vue:64
+#: src/views/domain/DomainEdit.vue:147 src/views/domain/DomainList.vue:64
 msgid "Failed to enable %{msg}"
 msgid "Failed to enable %{msg}"
 msgstr "启用失败 %{msg}"
 msgstr "启用失败 %{msg}"
 
 
@@ -502,15 +509,15 @@ msgstr "过滤"
 msgid "Finished"
 msgid "Finished"
 msgstr "完成"
 msgstr "完成"
 
 
-#: src/views/config/ConfigEdit.vue:75
+#: src/views/config/ConfigEdit.vue:86
 msgid "Format Code"
 msgid "Format Code"
 msgstr "代码格式化"
 msgstr "代码格式化"
 
 
-#: src/views/config/ConfigEdit.vue:57
+#: src/views/config/ConfigEdit.vue:64
 msgid "Format error %{msg}"
 msgid "Format error %{msg}"
 msgstr "保存错误 %{msg}"
 msgstr "保存错误 %{msg}"
 
 
-#: src/views/config/ConfigEdit.vue:55
+#: src/views/config/ConfigEdit.vue:62
 msgid "Format successfully"
 msgid "Format successfully"
 msgstr "格式化成功"
 msgstr "格式化成功"
 
 
@@ -522,7 +529,7 @@ msgstr "生成"
 msgid "Generating private key for registering account"
 msgid "Generating private key for registering account"
 msgstr "正在生成私钥用于注册账户"
 msgstr "正在生成私钥用于注册账户"
 
 
-#: src/views/domain/cert/IssueCert.vue:96
+#: src/views/domain/cert/IssueCert.vue:146
 msgid "Getting the certificate, please wait..."
 msgid "Getting the certificate, please wait..."
 msgstr "正在获取证书,请稍等..."
 msgstr "正在获取证书,请稍等..."
 
 
@@ -561,10 +568,6 @@ msgstr "初始化核心升级程序错误"
 msgid "Initialing core upgrader"
 msgid "Initialing core upgrader"
 msgstr "初始化核心升级器"
 msgstr "初始化核心升级器"
 
 
-#: src/views/config/InspectConfig.vue:2
-msgid "Inspect Configurations"
-msgstr "检查配置"
-
 #: src/routes/index.ts:155 src/views/other/Install.vue:128
 #: src/routes/index.ts:155 src/views/other/Install.vue:128
 msgid "Install"
 msgid "Install"
 msgstr "安装"
 msgstr "安装"
@@ -585,8 +588,8 @@ msgstr "证书申请成功"
 msgid "Jwt Secret"
 msgid "Jwt Secret"
 msgstr "Jwt 密钥"
 msgstr "Jwt 密钥"
 
 
-#: src/views/system/Upgrade.vue:14 src/views/system/Upgrade.vue:15
-#: src/views/system/Upgrade.vue:19 src/views/system/Upgrade.vue:23
+#: src/views/system/Upgrade.vue:13 src/views/system/Upgrade.vue:14
+#: src/views/system/Upgrade.vue:18 src/views/system/Upgrade.vue:22
 msgid "Last checked at"
 msgid "Last checked at"
 msgstr "最后检查时间"
 msgstr "最后检查时间"
 
 
@@ -629,13 +632,13 @@ msgstr "登录成功"
 msgid "Logout successful"
 msgid "Logout successful"
 msgstr "登出成功"
 msgstr "登出成功"
 
 
-#: src/views/domain/cert/IssueCert.vue:210
+#: src/views/domain/cert/IssueCert.vue:252
 msgid ""
 msgid ""
 "Make sure you have configured a reverse proxy for .well-known directory to "
 "Make sure you have configured a reverse proxy for .well-known directory to "
-"HTTPChallengePort (default: 9180) before getting the certificate."
+"HTTPChallengePort before obtaining the certificate."
 msgstr ""
 msgstr ""
 "在获取签发证书前,请确保配置文件中已将 .well-known 目录反向代理到 "
 "在获取签发证书前,请确保配置文件中已将 .well-known 目录反向代理到 "
-"HTTPChallengePort (默认: 9180)"
+"HTTPChallengePort"
 
 
 #: src/routes/index.ts:72
 #: src/routes/index.ts:72
 msgid "Manage Configs"
 msgid "Manage Configs"
@@ -657,8 +660,8 @@ msgstr "内存"
 msgid "Memory and Storage"
 msgid "Memory and Storage"
 msgstr "内存与存储"
 msgstr "内存与存储"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:14 src/components/ChatGPT/ChatGPT.vue:15
-#: src/components/ChatGPT/ChatGPT.vue:19 src/components/ChatGPT/ChatGPT.vue:21
+#: src/components/ChatGPT/ChatGPT.vue:13 src/components/ChatGPT/ChatGPT.vue:14
+#: src/components/ChatGPT/ChatGPT.vue:18 src/components/ChatGPT/ChatGPT.vue:20
 #: src/components/StdDataDisplay/StdCurd.vue:25
 #: src/components/StdDataDisplay/StdCurd.vue:25
 #: src/components/StdDataDisplay/StdTable.vue:25
 #: src/components/StdDataDisplay/StdTable.vue:25
 #: src/components/StdDataDisplay/StdTable.vue:26
 #: src/components/StdDataDisplay/StdTable.vue:26
@@ -699,7 +702,7 @@ msgstr "下载流量"
 msgid "Network Total Send"
 msgid "Network Total Send"
 msgstr "上传流量"
 msgstr "上传流量"
 
 
-#: src/views/system/Upgrade.vue:34
+#: src/views/system/Upgrade.vue:32
 msgid "New version released"
 msgid "New version released"
 msgstr "新版本发布"
 msgstr "新版本发布"
 
 
@@ -739,7 +742,7 @@ msgstr "Nginx 重载成功"
 msgid "Nginx restarted successfully"
 msgid "Nginx restarted successfully"
 msgstr "Nginx 重启成功"
 msgstr "Nginx 重启成功"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:39
+#: src/components/ChatGPT/ChatGPT.vue:38
 #: src/components/StdDataDisplay/StdTable.vue:53
 #: src/components/StdDataDisplay/StdTable.vue:53
 #: src/views/domain/DomainList.vue:27
 #: src/views/domain/DomainList.vue:27
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:22
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:22
@@ -763,7 +766,7 @@ msgstr "注意"
 msgid "Obtaining certificate"
 msgid "Obtaining certificate"
 msgstr "正在获取证书"
 msgstr "正在获取证书"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:40
+#: src/components/ChatGPT/ChatGPT.vue:39
 #: src/components/StdDataDisplay/StdBatchEdit.vue:8
 #: src/components/StdDataDisplay/StdBatchEdit.vue:8
 #: src/components/StdDataDisplay/StdCurd.vue:28
 #: src/components/StdDataDisplay/StdCurd.vue:28
 #: src/components/StdDataDisplay/StdTable.vue:54
 #: src/components/StdDataDisplay/StdTable.vue:54
@@ -777,8 +780,8 @@ msgstr "确定"
 msgid "OpenAI"
 msgid "OpenAI"
 msgstr "OpenAI"
 msgstr "OpenAI"
 
 
-#: src/views/system/Upgrade.vue:11 src/views/system/Upgrade.vue:12
-#: src/views/system/Upgrade.vue:16 src/views/system/Upgrade.vue:20
+#: src/views/system/Upgrade.vue:10 src/views/system/Upgrade.vue:11
+#: src/views/system/Upgrade.vue:15 src/views/system/Upgrade.vue:19
 msgid "OS"
 msgid "OS"
 msgstr "OS"
 msgstr "OS"
 
 
@@ -857,8 +860,8 @@ msgstr "读"
 msgid "Receive"
 msgid "Receive"
 msgstr "下载"
 msgstr "下载"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:35 src/components/ChatGPT/ChatGPT.vue:36
-#: src/components/ChatGPT/ChatGPT.vue:42 src/components/ChatGPT/ChatGPT.vue:46
+#: src/components/ChatGPT/ChatGPT.vue:34 src/components/ChatGPT/ChatGPT.vue:35
+#: src/components/ChatGPT/ChatGPT.vue:41 src/components/ChatGPT/ChatGPT.vue:45
 msgid "Regenerate response"
 msgid "Regenerate response"
 msgstr "重新生成响应"
 msgstr "重新生成响应"
 
 
@@ -866,20 +869,20 @@ msgstr "重新生成响应"
 msgid "Registering user"
 msgid "Registering user"
 msgstr "正在注册用户"
 msgstr "正在注册用户"
 
 
-#: src/views/system/Upgrade.vue:24 src/views/system/Upgrade.vue:25
-#: src/views/system/Upgrade.vue:29 src/views/system/Upgrade.vue:33
-#: src/views/system/Upgrade.vue:36 src/views/system/Upgrade.vue:39
+#: src/views/system/Upgrade.vue:22 src/views/system/Upgrade.vue:23
+#: src/views/system/Upgrade.vue:27 src/views/system/Upgrade.vue:31
+#: src/views/system/Upgrade.vue:34 src/views/system/Upgrade.vue:37
 msgid "Reinstall"
 msgid "Reinstall"
 msgstr "重新安装"
 msgstr "重新安装"
 
 
-#: src/views/system/Upgrade.vue:31 src/views/system/Upgrade.vue:32
-#: src/views/system/Upgrade.vue:36 src/views/system/Upgrade.vue:40
-#: src/views/system/Upgrade.vue:43 src/views/system/Upgrade.vue:48
+#: src/views/system/Upgrade.vue:29 src/views/system/Upgrade.vue:30
+#: src/views/system/Upgrade.vue:34 src/views/system/Upgrade.vue:38
+#: src/views/system/Upgrade.vue:41 src/views/system/Upgrade.vue:46
 msgid "Release Note"
 msgid "Release Note"
 msgstr "发行日志"
 msgstr "发行日志"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:21 src/components/ChatGPT/ChatGPT.vue:22
-#: src/components/ChatGPT/ChatGPT.vue:26 src/components/ChatGPT/ChatGPT.vue:28
+#: src/components/ChatGPT/ChatGPT.vue:20 src/components/ChatGPT/ChatGPT.vue:21
+#: src/components/ChatGPT/ChatGPT.vue:25 src/components/ChatGPT/ChatGPT.vue:27
 #: src/components/NginxControl/NginxControl.vue:12
 #: src/components/NginxControl/NginxControl.vue:12
 #: src/components/NginxControl/NginxControl.vue:13
 #: src/components/NginxControl/NginxControl.vue:13
 #: src/components/NginxControl/NginxControl.vue:17
 #: src/components/NginxControl/NginxControl.vue:17
@@ -918,15 +921,16 @@ msgstr "运行模式"
 msgid "Running"
 msgid "Running"
 msgstr "运行中"
 msgstr "运行中"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:17 src/components/ChatGPT/ChatGPT.vue:18
-#: src/components/ChatGPT/ChatGPT.vue:22 src/components/ChatGPT/ChatGPT.vue:24
-#: src/views/config/ConfigEdit.vue:78 src/views/domain/DomainEdit.vue:239
+#: src/components/ChatGPT/ChatGPT.vue:16 src/components/ChatGPT/ChatGPT.vue:17
+#: src/components/ChatGPT/ChatGPT.vue:21 src/components/ChatGPT/ChatGPT.vue:23
+#: src/views/config/ConfigEdit.vue:89 src/views/domain/DomainEdit.vue:246
+#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:32
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:33
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:33
-#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:34
+#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:39
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:40
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:40
-#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:41
+#: src/views/preference/Preference.vue:67
 #: src/views/preference/Preference.vue:68
 #: src/views/preference/Preference.vue:68
-#: src/views/preference/Preference.vue:70
+#: src/views/preference/Preference.vue:69
 msgid "Save"
 msgid "Save"
 msgstr "保存"
 msgstr "保存"
 
 
@@ -936,7 +940,7 @@ msgstr "保存"
 msgid "Save Directive"
 msgid "Save Directive"
 msgstr "保存指令"
 msgstr "保存指令"
 
 
-#: src/views/config/ConfigEdit.vue:46 src/views/domain/DomainAdd.vue:55
+#: src/views/config/ConfigEdit.vue:53 src/views/domain/DomainAdd.vue:55
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:37
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:37
 msgid "Save error %{msg}"
 msgid "Save error %{msg}"
 msgstr "保存错误 %{msg}"
 msgstr "保存错误 %{msg}"
@@ -950,8 +954,8 @@ msgstr "保存成功"
 msgid "Save Successfully"
 msgid "Save Successfully"
 msgstr "保存成功"
 msgstr "保存成功"
 
 
-#: src/views/config/ConfigEdit.vue:44 src/views/domain/DomainAdd.vue:44
-#: src/views/domain/DomainEdit.vue:133
+#: src/views/config/ConfigEdit.vue:51 src/views/domain/DomainAdd.vue:44
+#: src/views/domain/DomainEdit.vue:136
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:35
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:35
 msgid "Saved successfully"
 msgid "Saved successfully"
 msgstr "保存成功"
 msgstr "保存成功"
@@ -970,7 +974,7 @@ msgstr "上传"
 #: src/components/StdDataDisplay/StdTable.vue:168
 #: src/components/StdDataDisplay/StdTable.vue:168
 #: src/components/StdDataDisplay/StdTable.vue:343
 #: src/components/StdDataDisplay/StdTable.vue:343
 #: src/components/StdDataDisplay/StdTable.vue:463
 #: src/components/StdDataDisplay/StdTable.vue:463
-#: src/views/config/ConfigEdit.vue:32 src/views/domain/DomainList.vue:84
+#: src/views/config/ConfigEdit.vue:37 src/views/domain/DomainList.vue:84
 #: src/views/other/Install.vue:71 src/views/preference/Preference.vue:47
 #: src/views/other/Install.vue:71 src/views/preference/Preference.vue:47
 msgid "Server error"
 msgid "Server error"
 msgstr "服务器错误"
 msgstr "服务器错误"
@@ -979,11 +983,11 @@ msgstr "服务器错误"
 msgid "Server Info"
 msgid "Server Info"
 msgstr "服务器信息"
 msgstr "服务器信息"
 
 
-#: src/views/domain/cert/IssueCert.vue:30
+#: src/views/domain/cert/IssueCert.vue:79
 msgid "server_name not found in directives"
 msgid "server_name not found in directives"
 msgstr "未在指令集合中找到 server_name"
 msgstr "未在指令集合中找到 server_name"
 
 
-#: src/views/domain/cert/IssueCert.vue:194 src/views/domain/DomainAdd.vue:111
+#: src/views/domain/cert/IssueCert.vue:235 src/views/domain/DomainAdd.vue:111
 msgid "server_name parameter is required"
 msgid "server_name parameter is required"
 msgstr "必须为 server_name 指令指明参数"
 msgstr "必须为 server_name 指令指明参数"
 
 
@@ -1052,21 +1056,21 @@ msgstr "终端"
 msgid "Terminal Start Command"
 msgid "Terminal Start Command"
 msgstr "终端启动命令"
 msgstr "终端启动命令"
 
 
-#: src/views/domain/cert/IssueCert.vue:206
+#: src/views/domain/cert/IssueCert.vue:248
 msgid ""
 msgid ""
 "The certificate for the domain will be checked every hour, and will be "
 "The certificate for the domain will be checked every hour, and will be "
-"renewed if it has been more than 1 month since it was last issued."
+"renewed if it has been more than 1 week since it was last issued."
 msgstr ""
 msgstr ""
-"系统将会每小时检测一次该域名证书,若距离上次签发已超过1个月,则将自动续签。"
+"系统将会每小时检测一次该域名证书,若距离上次签发已超过1,则将自动续签。"
 
 
 #: src/views/other/Install.vue:54
 #: src/views/other/Install.vue:54
 msgid "The filename cannot contain the following characters: %{c}"
 msgid "The filename cannot contain the following characters: %{c}"
 msgstr "文件名不能包含以下字符: %{c}"
 msgstr "文件名不能包含以下字符: %{c}"
 
 
-#: src/views/domain/cert/IssueCert.vue:202
+#: src/views/domain/cert/IssueCert.vue:243
 msgid ""
 msgid ""
 "The server_name in the current configuration must be the domain name you "
 "The server_name in the current configuration must be the domain name you "
-"need to get the certificate."
+"need to get the certificate, support multiple domains."
 msgstr "当前配置中的 server_name 必须为需要申请证书的域名。"
 msgstr "当前配置中的 server_name 必须为需要申请证书的域名。"
 
 
 #: src/language/constants.ts:6
 #: src/language/constants.ts:6
@@ -1081,6 +1085,16 @@ msgstr "主题"
 msgid "This auto-cert item is invalid, please remove it."
 msgid "This auto-cert item is invalid, please remove it."
 msgstr "这个证书自动续期项目是无效的,请删除。"
 msgstr "这个证书自动续期项目是无效的,请删除。"
 
 
+#: src/views/domain/ngx_conf/NgxConfigEditor.vue:31
+msgid ""
+"To make sure the certification auto-renewal can work normally, we need to "
+"add a location which can proxy the request from authority to backend, and we "
+"need to save this file and reload the Nginx. Are you sure you want to "
+"continue?"
+msgstr ""
+"为了确保认证自动更新能够正常工作,我们需要添加一个能够代理从权威机构到后端的"
+"请求的 Location,并且我们需要保存这个文件并重新加载Nginx。你确定要继续吗?"
+
 #: src/views/config/config.ts:14
 #: src/views/config/config.ts:14
 msgid "Type"
 msgid "Type"
 msgstr "类型"
 msgstr "类型"
@@ -1094,11 +1108,11 @@ msgstr "修改时间"
 msgid "Updated successfully"
 msgid "Updated successfully"
 msgstr "更新成功"
 msgstr "更新成功"
 
 
-#: src/routes/index.ts:147 src/views/system/Upgrade.vue:16
-#: src/views/system/Upgrade.vue:26 src/views/system/Upgrade.vue:27
-#: src/views/system/Upgrade.vue:31 src/views/system/Upgrade.vue:35
-#: src/views/system/Upgrade.vue:38 src/views/system/Upgrade.vue:41
-#: src/views/system/Upgrade.vue:42
+#: src/routes/index.ts:147 src/views/system/Upgrade.vue:2
+#: src/views/system/Upgrade.vue:24 src/views/system/Upgrade.vue:25
+#: src/views/system/Upgrade.vue:29 src/views/system/Upgrade.vue:33
+#: src/views/system/Upgrade.vue:36 src/views/system/Upgrade.vue:39
+#: src/views/system/Upgrade.vue:40
 msgid "Upgrade"
 msgid "Upgrade"
 msgstr "升级"
 msgstr "升级"
 
 
@@ -1126,9 +1140,9 @@ msgstr "用户名 (*)"
 msgid "Using HTTP01 challenge provider"
 msgid "Using HTTP01 challenge provider"
 msgstr "使用 HTTP01 challenge provider"
 msgstr "使用 HTTP01 challenge provider"
 
 
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:10
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:13
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:9
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:10
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:13
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:9
 msgid "View"
 msgid "View"
 msgstr "查看"
 msgstr "查看"
 
 
@@ -1137,6 +1151,22 @@ msgstr "查看"
 msgid "Warning"
 msgid "Warning"
 msgstr "警告"
 msgstr "警告"
 
 
+#: src/views/domain/cert/IssueCert.vue:35
+msgid ""
+"We need to add the HTTPChallenge configuration to this file and reload the "
+"Nginx. Are you sure you want to continue?"
+msgstr ""
+"我们需要将 HTTPChallenge 的配置添加到这个文件中,并重新加载Nginx。你确定要继"
+"续吗?"
+
+#: src/views/domain/cert/IssueCert.vue:37
+msgid ""
+"We will remove the HTTPChallenge configuration from this file and reload the "
+"Nginx configuration file. Are you sure you want to continue?"
+msgstr ""
+"我们将从这个文件中删除HTTPChallenge的配置,并重新加载Nginx的配置文件。你确定"
+"要继续吗?"
+
 #: src/views/dashboard/DashBoard.vue:102 src/views/dashboard/DashBoard.vue:22
 #: src/views/dashboard/DashBoard.vue:102 src/views/dashboard/DashBoard.vue:22
 #: src/views/dashboard/DashBoard.vue:23
 #: src/views/dashboard/DashBoard.vue:23
 msgid "Writes"
 msgid "Writes"
@@ -1155,12 +1185,12 @@ msgstr "正在将证书写入磁盘"
 msgid "Yes"
 msgid "Yes"
 msgstr "是的"
 msgstr "是的"
 
 
-#: src/views/system/Upgrade.vue:30
+#: src/views/system/Upgrade.vue:28
 msgid "You are using the latest version"
 msgid "You are using the latest version"
 msgstr "您使用的是最新版本"
 msgstr "您使用的是最新版本"
 
 
-#: src/views/system/Upgrade.vue:10 src/views/system/Upgrade.vue:14
-#: src/views/system/Upgrade.vue:18 src/views/system/Upgrade.vue:9
+#: src/views/system/Upgrade.vue:13 src/views/system/Upgrade.vue:17
+#: src/views/system/Upgrade.vue:8 src/views/system/Upgrade.vue:9
 msgid "You can check Nginx UI upgrade at this page."
 msgid "You can check Nginx UI upgrade at this page."
 msgstr "你可以在这个页面检查Nginx UI的升级。"
 msgstr "你可以在这个页面检查Nginx UI的升级。"
 
 
@@ -1169,12 +1199,15 @@ msgctxt "Project"
 msgid "License"
 msgid "License"
 msgstr "开源许可"
 msgstr "开源许可"
 
 
+#~ msgid "Chat with ChatGPT"
+#~ msgstr "与ChatGPT聊天"
+
+#~ msgid "Inspect Configurations"
+#~ msgstr "检查配置"
+
 #~ msgid "Domain"
 #~ msgid "Domain"
 #~ msgstr "域名"
 #~ msgstr "域名"
 
 
-#~ msgid "Do you want to reload Nginx?"
-#~ msgstr "你需要重载 Nginx 吗?"
-
 #~ msgid "server_name parameters more than one"
 #~ msgid "server_name parameters more than one"
 #~ msgstr "server_name 指令包含多个参数"
 #~ msgstr "server_name 指令包含多个参数"
 
 

BIN
frontend/src/language/zh_TW/app.mo


+ 152 - 120
frontend/src/language/zh_TW/app.po

@@ -28,10 +28,10 @@ msgstr "操作"
 
 
 #: src/components/StdDataDisplay/StdCurd.vue:145
 #: src/components/StdDataDisplay/StdCurd.vue:145
 #: src/components/StdDataDisplay/StdCurd.vue:25
 #: src/components/StdDataDisplay/StdCurd.vue:25
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:28
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:28
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:34
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:34
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:35
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:35
-#: src/views/domain/ngx_conf/NgxConfigEditor.vue:48
+#: src/views/domain/ngx_conf/NgxConfigEditor.vue:50
 msgid "Add"
 msgid "Add"
 msgstr "新增"
 msgstr "新增"
 
 
@@ -69,12 +69,12 @@ msgstr "API 代理"
 msgid "API Token"
 msgid "API Token"
 msgstr "API 令牌"
 msgstr "API 令牌"
 
 
-#: src/views/system/Upgrade.vue:12 src/views/system/Upgrade.vue:13
-#: src/views/system/Upgrade.vue:17 src/views/system/Upgrade.vue:21
+#: src/views/system/Upgrade.vue:11 src/views/system/Upgrade.vue:12
+#: src/views/system/Upgrade.vue:16 src/views/system/Upgrade.vue:20
 msgid "Arch"
 msgid "Arch"
 msgstr "架搆"
 msgstr "架搆"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:41
+#: src/components/ChatGPT/ChatGPT.vue:40
 msgid "Are you sure you want to clear the record of chat?"
 msgid "Are you sure you want to clear the record of chat?"
 msgstr "您確定要清除聊天記錄嗎?"
 msgstr "您確定要清除聊天記錄嗎?"
 
 
@@ -91,14 +91,14 @@ msgstr "您確定要刪除這條指令?"
 msgid "Are you sure you want to remove this location?"
 msgid "Are you sure you want to remove this location?"
 msgstr "您確定要刪除此 Location 嗎?"
 msgstr "您確定要刪除此 Location 嗎?"
 
 
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:12
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:13
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:16
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:17
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:20
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:21
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:25
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:31
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:12
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:13
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:16
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:17
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:20
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:21
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:25
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:31
 msgid "Author"
 msgid "Author"
 msgstr "作者"
 msgstr "作者"
 
 
@@ -123,18 +123,18 @@ msgstr "自動刷新"
 msgid "Auto-Cert Log"
 msgid "Auto-Cert Log"
 msgstr "自動證書日誌"
 msgstr "自動證書日誌"
 
 
-#: src/views/domain/cert/IssueCert.vue:71
+#: src/views/domain/cert/IssueCert.vue:121
 msgid "Auto-renewal disabled for %{name}"
 msgid "Auto-renewal disabled for %{name}"
 msgstr "已關閉 %{name} 自動續簽"
 msgstr "已關閉 %{name} 自動續簽"
 
 
-#: src/views/domain/cert/IssueCert.vue:65
+#: src/views/domain/cert/IssueCert.vue:115
 msgid "Auto-renewal enabled for %{name}"
 msgid "Auto-renewal enabled for %{name}"
 msgstr "已啟用 %{name} 自動續簽"
 msgstr "已啟用 %{name} 自動續簽"
 
 
-#: src/views/config/Config.vue:18 src/views/config/Config.vue:19
-#: src/views/config/Config.vue:29 src/views/config/Config.vue:7
-#: src/views/config/ConfigEdit.vue:72 src/views/domain/DomainEdit.vue:236
-#: src/views/nginx_log/NginxLog.vue:173
+#: src/views/config/Config.vue:17 src/views/config/Config.vue:18
+#: src/views/config/Config.vue:28 src/views/config/Config.vue:6
+#: src/views/config/ConfigEdit.vue:83 src/views/domain/DomainEdit.vue:243
+#: src/views/nginx_log/NginxLog.vue:172
 msgid "Back"
 msgid "Back"
 msgstr "返回"
 msgstr "返回"
 
 
@@ -166,8 +166,8 @@ msgstr "批量修改"
 msgid "Build with"
 msgid "Build with"
 msgstr "構建基於"
 msgstr "構建基於"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:18 src/components/ChatGPT/ChatGPT.vue:19
-#: src/components/ChatGPT/ChatGPT.vue:23 src/components/ChatGPT/ChatGPT.vue:25
+#: src/components/ChatGPT/ChatGPT.vue:17 src/components/ChatGPT/ChatGPT.vue:18
+#: src/components/ChatGPT/ChatGPT.vue:22 src/components/ChatGPT/ChatGPT.vue:24
 #: src/components/StdDataDisplay/StdBatchEdit.vue:7
 #: src/components/StdDataDisplay/StdBatchEdit.vue:7
 #: src/components/StdDataDisplay/StdCurd.vue:27
 #: src/components/StdDataDisplay/StdCurd.vue:27
 #: src/components/StdDataEntry/components/StdSelector.vue:11
 #: src/components/StdDataEntry/components/StdSelector.vue:11
@@ -182,7 +182,7 @@ msgstr "此憑證已過期"
 msgid "Certificate is valid"
 msgid "Certificate is valid"
 msgstr "此憑證有效"
 msgstr "此憑證有效"
 
 
-#: src/views/cert/Cert.vue:34 src/views/domain/cert/Cert.vue:35
+#: src/views/cert/Cert.vue:34 src/views/domain/cert/Cert.vue:36
 msgid "Certificate Status"
 msgid "Certificate Status"
 msgstr "憑證狀態"
 msgstr "憑證狀態"
 
 
@@ -196,29 +196,24 @@ msgstr "證照"
 msgid "Change Certificate"
 msgid "Change Certificate"
 msgstr "更改證書"
 msgstr "更改證書"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:48 src/components/ChatGPT/ChatGPT.vue:49
-#: src/components/ChatGPT/ChatGPT.vue:59
-msgid "Chat with ChatGPT"
-msgstr "使用 ChatGPT 聊天"
-
 #: src/views/preference/Preference.vue:42
 #: src/views/preference/Preference.vue:42
 msgid "ChatGPT Model"
 msgid "ChatGPT Model"
 msgstr "ChatGPT模型"
 msgstr "ChatGPT模型"
 
 
-#: src/views/system/Upgrade.vue:16 src/views/system/Upgrade.vue:17
-#: src/views/system/Upgrade.vue:21 src/views/system/Upgrade.vue:25
+#: src/views/system/Upgrade.vue:15 src/views/system/Upgrade.vue:16
+#: src/views/system/Upgrade.vue:20 src/views/system/Upgrade.vue:24
 msgid "Check again"
 msgid "Check again"
 msgstr "再次檢查"
 msgstr "再次檢查"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:32 src/components/ChatGPT/ChatGPT.vue:33
-#: src/components/ChatGPT/ChatGPT.vue:39 src/components/ChatGPT/ChatGPT.vue:43
+#: src/components/ChatGPT/ChatGPT.vue:31 src/components/ChatGPT/ChatGPT.vue:32
+#: src/components/ChatGPT/ChatGPT.vue:38 src/components/ChatGPT/ChatGPT.vue:42
 msgid "Clear"
 msgid "Clear"
 msgstr "清除"
 msgstr "清除"
 
 
-#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:34
+#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:33
 #: src/views/domain/ngx_conf/LocationEditor.vue:35
 #: src/views/domain/ngx_conf/LocationEditor.vue:35
 #: src/views/domain/ngx_conf/LocationEditor.vue:52
 #: src/views/domain/ngx_conf/LocationEditor.vue:52
-#: src/views/domain/ngx_conf/NgxConfigEditor.vue:189
+#: src/views/domain/ngx_conf/NgxConfigEditor.vue:228
 msgid "Comments"
 msgid "Comments"
 msgstr "註釋"
 msgstr "註釋"
 
 
@@ -226,7 +221,7 @@ msgstr "註釋"
 msgid "Config Name"
 msgid "Config Name"
 msgstr "配置名稱"
 msgstr "配置名稱"
 
 
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:61
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:81
 msgid "Config Templates"
 msgid "Config Templates"
 msgstr "配置模板"
 msgstr "配置模板"
 
 
@@ -238,7 +233,7 @@ msgstr "配置文件測試成功"
 msgid "Configuration Name"
 msgid "Configuration Name"
 msgstr "配置名稱"
 msgstr "配置名稱"
 
 
-#: src/views/config/Config.vue:4
+#: src/views/config/Config.vue:2
 msgid "Configurations"
 msgid "Configurations"
 msgstr "配置"
 msgstr "配置"
 
 
@@ -246,13 +241,13 @@ msgstr "配置"
 msgid "Configure SSL"
 msgid "Configure SSL"
 msgstr "配置 SSL"
 msgstr "配置 SSL"
 
 
-#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:37
+#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:36
 #: src/views/domain/ngx_conf/LocationEditor.vue:41
 #: src/views/domain/ngx_conf/LocationEditor.vue:41
 #: src/views/domain/ngx_conf/LocationEditor.vue:58
 #: src/views/domain/ngx_conf/LocationEditor.vue:58
 msgid "Content"
 msgid "Content"
 msgstr "內容"
 msgstr "內容"
 
 
-#: src/views/system/Upgrade.vue:3
+#: src/views/system/Upgrade.vue:4
 msgid "Core Upgrade"
 msgid "Core Upgrade"
 msgstr "核心升級"
 msgstr "核心升級"
 
 
@@ -276,15 +271,15 @@ msgstr "建立時間"
 msgid "Creating client facilitates communication with the CA server"
 msgid "Creating client facilitates communication with the CA server"
 msgstr "創建客戶端方便與CA服務器通信"
 msgstr "創建客戶端方便與CA服務器通信"
 
 
-#: src/views/system/Upgrade.vue:10 src/views/system/Upgrade.vue:11
-#: src/views/system/Upgrade.vue:15 src/views/system/Upgrade.vue:19
+#: src/views/system/Upgrade.vue:10 src/views/system/Upgrade.vue:14
+#: src/views/system/Upgrade.vue:18 src/views/system/Upgrade.vue:9
 msgid "Current Version"
 msgid "Current Version"
 msgstr "當前版本"
 msgstr "當前版本"
 
 
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:23
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:24
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:28
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:34
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:24
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:25
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:29
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:35
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:6
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:6
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:7
 #: src/views/domain/ngx_conf/NgxConfigEditor.vue:7
 msgid "Custom"
 msgid "Custom"
@@ -324,14 +319,14 @@ msgstr "刪除 ID: %{id}"
 msgid "Delete site: %{site_name}"
 msgid "Delete site: %{site_name}"
 msgstr "刪除站點:%{site_name}"
 msgstr "刪除站點:%{site_name}"
 
 
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:13
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:14
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:17
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:18
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:21
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:22
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:26
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:32
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:13
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:14
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:17
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:18
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:21
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:22
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:26
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:32
 msgid "Description"
 msgid "Description"
 msgstr "敘述"
 msgstr "敘述"
 
 
@@ -352,7 +347,7 @@ msgstr "指令"
 msgid "Directives"
 msgid "Directives"
 msgstr "指令"
 msgstr "指令"
 
 
-#: src/views/domain/cert/IssueCert.vue:73
+#: src/views/domain/cert/IssueCert.vue:123
 msgid "Disable auto-renewal failed for %{name}"
 msgid "Disable auto-renewal failed for %{name}"
 msgstr "關閉 %{name} 自動續簽失敗"
 msgstr "關閉 %{name} 自動續簽失敗"
 
 
@@ -364,7 +359,7 @@ msgstr "關閉 %{name} 自動續簽失敗"
 msgid "Disabled"
 msgid "Disabled"
 msgstr "禁用"
 msgstr "禁用"
 
 
-#: src/views/domain/DomainEdit.vue:151 src/views/domain/DomainList.vue:70
+#: src/views/domain/DomainEdit.vue:153 src/views/domain/DomainList.vue:70
 msgid "Disabled successfully"
 msgid "Disabled successfully"
 msgstr "禁用成功"
 msgstr "禁用成功"
 
 
@@ -372,6 +367,18 @@ msgstr "禁用成功"
 msgid "Disk IO"
 msgid "Disk IO"
 msgstr "磁碟 IO"
 msgstr "磁碟 IO"
 
 
+#: src/views/domain/cert/IssueCert.vue:33
+msgid "Do you want to disable auto-cert renewal?"
+msgstr "您要禁用自動證書續訂嗎?"
+
+#: src/views/domain/cert/IssueCert.vue:34
+msgid "Do you want to enable auto-cert renewal?"
+msgstr "您要啟用自動證書更新嗎?"
+
+#: src/views/domain/ngx_conf/NgxConfigEditor.vue:30
+msgid "Do you want to enable TLS?"
+msgstr "您想啟用 TLS 嗎?"
+
 #: src/views/domain/DomainAdd.vue:58
 #: src/views/domain/DomainAdd.vue:58
 msgid "Domain Config Created Successfully"
 msgid "Domain Config Created Successfully"
 msgstr "域名配置文件創建成功"
 msgstr "域名配置文件創建成功"
@@ -414,7 +421,7 @@ msgstr "編輯站點"
 msgid "Email (*)"
 msgid "Email (*)"
 msgstr "郵箱 (*)"
 msgstr "郵箱 (*)"
 
 
-#: src/views/domain/cert/IssueCert.vue:67
+#: src/views/domain/cert/IssueCert.vue:117
 msgid "Enable auto-renewal failed for %{name}"
 msgid "Enable auto-renewal failed for %{name}"
 msgstr "啟用 %{name} 自動續簽失敗"
 msgstr "啟用 %{name} 自動續簽失敗"
 
 
@@ -434,7 +441,7 @@ msgstr "啟用 TLS"
 msgid "Enabled"
 msgid "Enabled"
 msgstr "啟用"
 msgstr "啟用"
 
 
-#: src/views/domain/DomainAdd.vue:47 src/views/domain/DomainEdit.vue:142
+#: src/views/domain/DomainAdd.vue:47 src/views/domain/DomainEdit.vue:144
 #: src/views/domain/DomainList.vue:60
 #: src/views/domain/DomainList.vue:60
 msgid "Enabled successfully"
 msgid "Enabled successfully"
 msgstr "啟用成功"
 msgstr "啟用成功"
@@ -451,8 +458,8 @@ msgstr "錯誤"
 msgid "Error Logs"
 msgid "Error Logs"
 msgstr "錯誤日志"
 msgstr "錯誤日志"
 
 
-#: src/views/system/Upgrade.vue:13 src/views/system/Upgrade.vue:14
-#: src/views/system/Upgrade.vue:18 src/views/system/Upgrade.vue:22
+#: src/views/system/Upgrade.vue:12 src/views/system/Upgrade.vue:13
+#: src/views/system/Upgrade.vue:17 src/views/system/Upgrade.vue:21
 msgid "Executable Path"
 msgid "Executable Path"
 msgstr "可執行檔路徑"
 msgstr "可執行檔路徑"
 
 
@@ -467,11 +474,11 @@ msgstr "過期時間: %{date}"
 msgid "Export"
 msgid "Export"
 msgstr "導出"
 msgstr "導出"
 
 
-#: src/views/domain/DomainEdit.vue:154 src/views/domain/DomainList.vue:74
+#: src/views/domain/DomainEdit.vue:156 src/views/domain/DomainList.vue:74
 msgid "Failed to disable %{msg}"
 msgid "Failed to disable %{msg}"
 msgstr "禁用失敗 %{msg}"
 msgstr "禁用失敗 %{msg}"
 
 
-#: src/views/domain/DomainEdit.vue:145 src/views/domain/DomainList.vue:64
+#: src/views/domain/DomainEdit.vue:147 src/views/domain/DomainList.vue:64
 msgid "Failed to enable %{msg}"
 msgid "Failed to enable %{msg}"
 msgstr "啟用失敗 %{msg}"
 msgstr "啟用失敗 %{msg}"
 
 
@@ -503,15 +510,15 @@ msgstr "篩選"
 msgid "Finished"
 msgid "Finished"
 msgstr "完成"
 msgstr "完成"
 
 
-#: src/views/config/ConfigEdit.vue:75
+#: src/views/config/ConfigEdit.vue:86
 msgid "Format Code"
 msgid "Format Code"
 msgstr "格式化代碼"
 msgstr "格式化代碼"
 
 
-#: src/views/config/ConfigEdit.vue:57
+#: src/views/config/ConfigEdit.vue:64
 msgid "Format error %{msg}"
 msgid "Format error %{msg}"
 msgstr "格式錯誤 %{msg}"
 msgstr "格式錯誤 %{msg}"
 
 
-#: src/views/config/ConfigEdit.vue:55
+#: src/views/config/ConfigEdit.vue:62
 msgid "Format successfully"
 msgid "Format successfully"
 msgstr "格式化成功"
 msgstr "格式化成功"
 
 
@@ -523,7 +530,7 @@ msgstr "生成"
 msgid "Generating private key for registering account"
 msgid "Generating private key for registering account"
 msgstr "生成註冊賬號私鑰"
 msgstr "生成註冊賬號私鑰"
 
 
-#: src/views/domain/cert/IssueCert.vue:96
+#: src/views/domain/cert/IssueCert.vue:146
 msgid "Getting the certificate, please wait..."
 msgid "Getting the certificate, please wait..."
 msgstr "正在獲取憑證,請稍等..."
 msgstr "正在獲取憑證,請稍等..."
 
 
@@ -562,10 +569,6 @@ msgstr "初始核心升級程序錯誤"
 msgid "Initialing core upgrader"
 msgid "Initialing core upgrader"
 msgstr "正在初始化核心升級程序"
 msgstr "正在初始化核心升級程序"
 
 
-#: src/views/config/InspectConfig.vue:2
-msgid "Inspect Configurations"
-msgstr "檢查配置"
-
 #: src/routes/index.ts:155 src/views/other/Install.vue:128
 #: src/routes/index.ts:155 src/views/other/Install.vue:128
 msgid "Install"
 msgid "Install"
 msgstr "安裝"
 msgstr "安裝"
@@ -586,8 +589,8 @@ msgstr "頒發證書成功"
 msgid "Jwt Secret"
 msgid "Jwt Secret"
 msgstr "Jwt Secret"
 msgstr "Jwt Secret"
 
 
-#: src/views/system/Upgrade.vue:14 src/views/system/Upgrade.vue:15
-#: src/views/system/Upgrade.vue:19 src/views/system/Upgrade.vue:23
+#: src/views/system/Upgrade.vue:13 src/views/system/Upgrade.vue:14
+#: src/views/system/Upgrade.vue:18 src/views/system/Upgrade.vue:22
 msgid "Last checked at"
 msgid "Last checked at"
 msgstr "上次檢查時間"
 msgstr "上次檢查時間"
 
 
@@ -630,13 +633,13 @@ msgstr "登入成功"
 msgid "Logout successful"
 msgid "Logout successful"
 msgstr "登出成功"
 msgstr "登出成功"
 
 
-#: src/views/domain/cert/IssueCert.vue:210
+#: src/views/domain/cert/IssueCert.vue:252
 msgid ""
 msgid ""
 "Make sure you have configured a reverse proxy for .well-known directory to "
 "Make sure you have configured a reverse proxy for .well-known directory to "
-"HTTPChallengePort (default: 9180) before getting the certificate."
+"HTTPChallengePort before obtaining the certificate."
 msgstr ""
 msgstr ""
 "在獲取證書前,請確保配置檔案中已將 .well-known 目錄反向代理到 "
 "在獲取證書前,請確保配置檔案中已將 .well-known 目錄反向代理到 "
-"HTTPChallengePort (預設: 9180)"
+"HTTPChallengePort"
 
 
 #: src/routes/index.ts:72
 #: src/routes/index.ts:72
 msgid "Manage Configs"
 msgid "Manage Configs"
@@ -658,8 +661,8 @@ msgstr "記憶體"
 msgid "Memory and Storage"
 msgid "Memory and Storage"
 msgstr "記憶體和存儲"
 msgstr "記憶體和存儲"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:14 src/components/ChatGPT/ChatGPT.vue:15
-#: src/components/ChatGPT/ChatGPT.vue:19 src/components/ChatGPT/ChatGPT.vue:21
+#: src/components/ChatGPT/ChatGPT.vue:13 src/components/ChatGPT/ChatGPT.vue:14
+#: src/components/ChatGPT/ChatGPT.vue:18 src/components/ChatGPT/ChatGPT.vue:20
 #: src/components/StdDataDisplay/StdCurd.vue:25
 #: src/components/StdDataDisplay/StdCurd.vue:25
 #: src/components/StdDataDisplay/StdTable.vue:25
 #: src/components/StdDataDisplay/StdTable.vue:25
 #: src/components/StdDataDisplay/StdTable.vue:26
 #: src/components/StdDataDisplay/StdTable.vue:26
@@ -700,7 +703,7 @@ msgstr "下載流量"
 msgid "Network Total Send"
 msgid "Network Total Send"
 msgstr "上傳流量"
 msgstr "上傳流量"
 
 
-#: src/views/system/Upgrade.vue:34
+#: src/views/system/Upgrade.vue:32
 msgid "New version released"
 msgid "New version released"
 msgstr "新版本發布"
 msgstr "新版本發布"
 
 
@@ -740,7 +743,7 @@ msgstr "Nginx 重載成功"
 msgid "Nginx restarted successfully"
 msgid "Nginx restarted successfully"
 msgstr "Nginx 重啟成功"
 msgstr "Nginx 重啟成功"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:39
+#: src/components/ChatGPT/ChatGPT.vue:38
 #: src/components/StdDataDisplay/StdTable.vue:53
 #: src/components/StdDataDisplay/StdTable.vue:53
 #: src/views/domain/DomainList.vue:27
 #: src/views/domain/DomainList.vue:27
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:22
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:22
@@ -764,7 +767,7 @@ msgstr "備註"
 msgid "Obtaining certificate"
 msgid "Obtaining certificate"
 msgstr "正在獲取證書"
 msgstr "正在獲取證書"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:40
+#: src/components/ChatGPT/ChatGPT.vue:39
 #: src/components/StdDataDisplay/StdBatchEdit.vue:8
 #: src/components/StdDataDisplay/StdBatchEdit.vue:8
 #: src/components/StdDataDisplay/StdCurd.vue:28
 #: src/components/StdDataDisplay/StdCurd.vue:28
 #: src/components/StdDataDisplay/StdTable.vue:54
 #: src/components/StdDataDisplay/StdTable.vue:54
@@ -778,8 +781,8 @@ msgstr "確定"
 msgid "OpenAI"
 msgid "OpenAI"
 msgstr "OpenAI"
 msgstr "OpenAI"
 
 
-#: src/views/system/Upgrade.vue:11 src/views/system/Upgrade.vue:12
-#: src/views/system/Upgrade.vue:16 src/views/system/Upgrade.vue:20
+#: src/views/system/Upgrade.vue:10 src/views/system/Upgrade.vue:11
+#: src/views/system/Upgrade.vue:15 src/views/system/Upgrade.vue:19
 msgid "OS"
 msgid "OS"
 msgstr "作業系統"
 msgstr "作業系統"
 
 
@@ -858,8 +861,8 @@ msgstr "讀"
 msgid "Receive"
 msgid "Receive"
 msgstr "下載"
 msgstr "下載"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:35 src/components/ChatGPT/ChatGPT.vue:36
-#: src/components/ChatGPT/ChatGPT.vue:42 src/components/ChatGPT/ChatGPT.vue:46
+#: src/components/ChatGPT/ChatGPT.vue:34 src/components/ChatGPT/ChatGPT.vue:35
+#: src/components/ChatGPT/ChatGPT.vue:41 src/components/ChatGPT/ChatGPT.vue:45
 msgid "Regenerate response"
 msgid "Regenerate response"
 msgstr "重新生成響應"
 msgstr "重新生成響應"
 
 
@@ -867,20 +870,20 @@ msgstr "重新生成響應"
 msgid "Registering user"
 msgid "Registering user"
 msgstr "註冊用戶"
 msgstr "註冊用戶"
 
 
-#: src/views/system/Upgrade.vue:24 src/views/system/Upgrade.vue:25
-#: src/views/system/Upgrade.vue:29 src/views/system/Upgrade.vue:33
-#: src/views/system/Upgrade.vue:36 src/views/system/Upgrade.vue:39
+#: src/views/system/Upgrade.vue:22 src/views/system/Upgrade.vue:23
+#: src/views/system/Upgrade.vue:27 src/views/system/Upgrade.vue:31
+#: src/views/system/Upgrade.vue:34 src/views/system/Upgrade.vue:37
 msgid "Reinstall"
 msgid "Reinstall"
 msgstr "安裝"
 msgstr "安裝"
 
 
-#: src/views/system/Upgrade.vue:31 src/views/system/Upgrade.vue:32
-#: src/views/system/Upgrade.vue:36 src/views/system/Upgrade.vue:40
-#: src/views/system/Upgrade.vue:43 src/views/system/Upgrade.vue:48
+#: src/views/system/Upgrade.vue:29 src/views/system/Upgrade.vue:30
+#: src/views/system/Upgrade.vue:34 src/views/system/Upgrade.vue:38
+#: src/views/system/Upgrade.vue:41 src/views/system/Upgrade.vue:46
 msgid "Release Note"
 msgid "Release Note"
 msgstr "發行公告"
 msgstr "發行公告"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:21 src/components/ChatGPT/ChatGPT.vue:22
-#: src/components/ChatGPT/ChatGPT.vue:26 src/components/ChatGPT/ChatGPT.vue:28
+#: src/components/ChatGPT/ChatGPT.vue:20 src/components/ChatGPT/ChatGPT.vue:21
+#: src/components/ChatGPT/ChatGPT.vue:25 src/components/ChatGPT/ChatGPT.vue:27
 #: src/components/NginxControl/NginxControl.vue:12
 #: src/components/NginxControl/NginxControl.vue:12
 #: src/components/NginxControl/NginxControl.vue:13
 #: src/components/NginxControl/NginxControl.vue:13
 #: src/components/NginxControl/NginxControl.vue:17
 #: src/components/NginxControl/NginxControl.vue:17
@@ -919,15 +922,16 @@ msgstr "高階模式"
 msgid "Running"
 msgid "Running"
 msgstr "運行中"
 msgstr "運行中"
 
 
-#: src/components/ChatGPT/ChatGPT.vue:17 src/components/ChatGPT/ChatGPT.vue:18
-#: src/components/ChatGPT/ChatGPT.vue:22 src/components/ChatGPT/ChatGPT.vue:24
-#: src/views/config/ConfigEdit.vue:78 src/views/domain/DomainEdit.vue:239
+#: src/components/ChatGPT/ChatGPT.vue:16 src/components/ChatGPT/ChatGPT.vue:17
+#: src/components/ChatGPT/ChatGPT.vue:21 src/components/ChatGPT/ChatGPT.vue:23
+#: src/views/config/ConfigEdit.vue:89 src/views/domain/DomainEdit.vue:246
+#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:32
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:33
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:33
-#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:34
+#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:39
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:40
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:40
-#: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:41
+#: src/views/preference/Preference.vue:67
 #: src/views/preference/Preference.vue:68
 #: src/views/preference/Preference.vue:68
-#: src/views/preference/Preference.vue:70
+#: src/views/preference/Preference.vue:69
 msgid "Save"
 msgid "Save"
 msgstr "儲存"
 msgstr "儲存"
 
 
@@ -937,7 +941,7 @@ msgstr "儲存"
 msgid "Save Directive"
 msgid "Save Directive"
 msgstr "儲存指令"
 msgstr "儲存指令"
 
 
-#: src/views/config/ConfigEdit.vue:46 src/views/domain/DomainAdd.vue:55
+#: src/views/config/ConfigEdit.vue:53 src/views/domain/DomainAdd.vue:55
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:37
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:37
 msgid "Save error %{msg}"
 msgid "Save error %{msg}"
 msgstr "儲存錯誤 %{msg}"
 msgstr "儲存錯誤 %{msg}"
@@ -951,8 +955,8 @@ msgstr "保存成功"
 msgid "Save Successfully"
 msgid "Save Successfully"
 msgstr "保存成功"
 msgstr "保存成功"
 
 
-#: src/views/config/ConfigEdit.vue:44 src/views/domain/DomainAdd.vue:44
-#: src/views/domain/DomainEdit.vue:133
+#: src/views/config/ConfigEdit.vue:51 src/views/domain/DomainAdd.vue:44
+#: src/views/domain/DomainEdit.vue:136
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:35
 #: src/views/domain/ngx_conf/directive/DirectiveEditorItem.vue:35
 msgid "Saved successfully"
 msgid "Saved successfully"
 msgstr "儲存成功"
 msgstr "儲存成功"
@@ -971,7 +975,7 @@ msgstr "上傳"
 #: src/components/StdDataDisplay/StdTable.vue:168
 #: src/components/StdDataDisplay/StdTable.vue:168
 #: src/components/StdDataDisplay/StdTable.vue:343
 #: src/components/StdDataDisplay/StdTable.vue:343
 #: src/components/StdDataDisplay/StdTable.vue:463
 #: src/components/StdDataDisplay/StdTable.vue:463
-#: src/views/config/ConfigEdit.vue:32 src/views/domain/DomainList.vue:84
+#: src/views/config/ConfigEdit.vue:37 src/views/domain/DomainList.vue:84
 #: src/views/other/Install.vue:71 src/views/preference/Preference.vue:47
 #: src/views/other/Install.vue:71 src/views/preference/Preference.vue:47
 msgid "Server error"
 msgid "Server error"
 msgstr "伺服器錯誤"
 msgstr "伺服器錯誤"
@@ -980,11 +984,11 @@ msgstr "伺服器錯誤"
 msgid "Server Info"
 msgid "Server Info"
 msgstr "伺服器資訊"
 msgstr "伺服器資訊"
 
 
-#: src/views/domain/cert/IssueCert.vue:30
+#: src/views/domain/cert/IssueCert.vue:79
 msgid "server_name not found in directives"
 msgid "server_name not found in directives"
 msgstr "未在指令集合中找到 server_name"
 msgstr "未在指令集合中找到 server_name"
 
 
-#: src/views/domain/cert/IssueCert.vue:194 src/views/domain/DomainAdd.vue:111
+#: src/views/domain/cert/IssueCert.vue:235 src/views/domain/DomainAdd.vue:111
 msgid "server_name parameter is required"
 msgid "server_name parameter is required"
 msgstr "必須為 server_name 指令指明參數"
 msgstr "必須為 server_name 指令指明參數"
 
 
@@ -1053,22 +1057,22 @@ msgstr "終端"
 msgid "Terminal Start Command"
 msgid "Terminal Start Command"
 msgstr "終端啟動命令"
 msgstr "終端啟動命令"
 
 
-#: src/views/domain/cert/IssueCert.vue:206
+#: src/views/domain/cert/IssueCert.vue:248
 msgid ""
 msgid ""
 "The certificate for the domain will be checked every hour, and will be "
 "The certificate for the domain will be checked every hour, and will be "
-"renewed if it has been more than 1 month since it was last issued."
+"renewed if it has been more than 1 week since it was last issued."
 msgstr ""
 msgstr ""
-"系統將會每小時檢測一次該域名證書,若距離上次簽發已超過1個月,則將自動續簽。"
+"系統將會每小時檢測一次該域名證書,若距離上次簽發已超過1,則將自動續簽。"
 "<br/>如果您之前沒有證書,請先點選「從 Let's Encrypt 獲取證書」。"
 "<br/>如果您之前沒有證書,請先點選「從 Let's Encrypt 獲取證書」。"
 
 
 #: src/views/other/Install.vue:54
 #: src/views/other/Install.vue:54
 msgid "The filename cannot contain the following characters: %{c}"
 msgid "The filename cannot contain the following characters: %{c}"
 msgstr "檔名不能包含以下字元: %{c}"
 msgstr "檔名不能包含以下字元: %{c}"
 
 
-#: src/views/domain/cert/IssueCert.vue:202
+#: src/views/domain/cert/IssueCert.vue:243
 msgid ""
 msgid ""
 "The server_name in the current configuration must be the domain name you "
 "The server_name in the current configuration must be the domain name you "
-"need to get the certificate."
+"need to get the certificate, support multiple domains."
 msgstr "注意:當前配置中的 server_name 必須為需要申請證書的域名。"
 msgstr "注意:當前配置中的 server_name 必須為需要申請證書的域名。"
 
 
 #: src/language/constants.ts:6
 #: src/language/constants.ts:6
@@ -1083,6 +1087,16 @@ msgstr "外觀樣式"
 msgid "This auto-cert item is invalid, please remove it."
 msgid "This auto-cert item is invalid, please remove it."
 msgstr "此自動證書項無效,請將其刪除。"
 msgstr "此自動證書項無效,請將其刪除。"
 
 
+#: src/views/domain/ngx_conf/NgxConfigEditor.vue:31
+msgid ""
+"To make sure the certification auto-renewal can work normally, we need to "
+"add a location which can proxy the request from authority to backend, and we "
+"need to save this file and reload the Nginx. Are you sure you want to "
+"continue?"
+msgstr ""
+"為了保證證書自動續期能夠正常進行,我們需要添加一個 Location 來代理從權限到後"
+"端的請求,我們需要保存這個文件並重新加載Nginx。你確定你要繼續嗎?"
+
 #: src/views/config/config.ts:14
 #: src/views/config/config.ts:14
 msgid "Type"
 msgid "Type"
 msgstr "類型"
 msgstr "類型"
@@ -1096,11 +1110,11 @@ msgstr "修改時間"
 msgid "Updated successfully"
 msgid "Updated successfully"
 msgstr "已成功更新"
 msgstr "已成功更新"
 
 
-#: src/routes/index.ts:147 src/views/system/Upgrade.vue:16
-#: src/views/system/Upgrade.vue:26 src/views/system/Upgrade.vue:27
-#: src/views/system/Upgrade.vue:31 src/views/system/Upgrade.vue:35
-#: src/views/system/Upgrade.vue:38 src/views/system/Upgrade.vue:41
-#: src/views/system/Upgrade.vue:42
+#: src/routes/index.ts:147 src/views/system/Upgrade.vue:2
+#: src/views/system/Upgrade.vue:24 src/views/system/Upgrade.vue:25
+#: src/views/system/Upgrade.vue:29 src/views/system/Upgrade.vue:33
+#: src/views/system/Upgrade.vue:36 src/views/system/Upgrade.vue:39
+#: src/views/system/Upgrade.vue:40
 msgid "Upgrade"
 msgid "Upgrade"
 msgstr "升級"
 msgstr "升級"
 
 
@@ -1128,9 +1142,9 @@ msgstr "使用者名稱 (*)"
 msgid "Using HTTP01 challenge provider"
 msgid "Using HTTP01 challenge provider"
 msgstr "使用 HTTP01 挑戰提供者"
 msgstr "使用 HTTP01 挑戰提供者"
 
 
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:10
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:13
-#: src/views/domain/ngx_conf/ConfigTemplate.vue:9
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:10
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:13
+#: src/views/domain/ngx_conf/config_template/ConfigTemplate.vue:9
 msgid "View"
 msgid "View"
 msgstr "查看"
 msgstr "查看"
 
 
@@ -1139,6 +1153,21 @@ msgstr "查看"
 msgid "Warning"
 msgid "Warning"
 msgstr "警告"
 msgstr "警告"
 
 
+#: src/views/domain/cert/IssueCert.vue:35
+msgid ""
+"We need to add the HTTPChallenge configuration to this file and reload the "
+"Nginx. Are you sure you want to continue?"
+msgstr ""
+"我們需要將 HTTPChallenge 配置添加到此文件並重新加載 Nginx。你確定你要繼續嗎?"
+
+#: src/views/domain/cert/IssueCert.vue:37
+msgid ""
+"We will remove the HTTPChallenge configuration from this file and reload the "
+"Nginx configuration file. Are you sure you want to continue?"
+msgstr ""
+"我們將從該文件中刪除 HTTPChallenge 配置並重新加載 Nginx 配置文件。你確定你要"
+"繼續嗎?"
+
 #: src/views/dashboard/DashBoard.vue:102 src/views/dashboard/DashBoard.vue:22
 #: src/views/dashboard/DashBoard.vue:102 src/views/dashboard/DashBoard.vue:22
 #: src/views/dashboard/DashBoard.vue:23
 #: src/views/dashboard/DashBoard.vue:23
 msgid "Writes"
 msgid "Writes"
@@ -1157,12 +1186,12 @@ msgstr "將證書寫入磁盤"
 msgid "Yes"
 msgid "Yes"
 msgstr "是的"
 msgstr "是的"
 
 
-#: src/views/system/Upgrade.vue:30
+#: src/views/system/Upgrade.vue:28
 msgid "You are using the latest version"
 msgid "You are using the latest version"
 msgstr "您使用的是最新版本"
 msgstr "您使用的是最新版本"
 
 
-#: src/views/system/Upgrade.vue:10 src/views/system/Upgrade.vue:14
-#: src/views/system/Upgrade.vue:18 src/views/system/Upgrade.vue:9
+#: src/views/system/Upgrade.vue:13 src/views/system/Upgrade.vue:17
+#: src/views/system/Upgrade.vue:8 src/views/system/Upgrade.vue:9
 msgid "You can check Nginx UI upgrade at this page."
 msgid "You can check Nginx UI upgrade at this page."
 msgstr "您可以在此頁面查看 Nginx UI 升級。"
 msgstr "您可以在此頁面查看 Nginx UI 升級。"
 
 
@@ -1171,12 +1200,15 @@ msgctxt "Project"
 msgid "License"
 msgid "License"
 msgstr "開源軟體授權條款"
 msgstr "開源軟體授權條款"
 
 
+#~ msgid "Chat with ChatGPT"
+#~ msgstr "使用 ChatGPT 聊天"
+
+#~ msgid "Inspect Configurations"
+#~ msgstr "檢查配置"
+
 #~ msgid "Domain"
 #~ msgid "Domain"
 #~ msgstr "網域"
 #~ msgstr "網域"
 
 
-#~ msgid "Do you want to reload Nginx?"
-#~ msgstr "你想重載 Nginx 嗎?"
-
 #~ msgid "server_name parameters more than one"
 #~ msgid "server_name parameters more than one"
 #~ msgstr "server_name 指令包含多個參數"
 #~ msgstr "server_name 指令包含多個參數"
 
 

+ 9 - 4
frontend/src/views/domain/cert/IssueCert.vue

@@ -241,16 +241,17 @@ const modalClosable = ref(false)
         <a-alert type="info" closable :message="$gettext('Note')">
         <a-alert type="info" closable :message="$gettext('Note')">
             <template #description>
             <template #description>
                 <p v-translate>
                 <p v-translate>
-                    The server_name in the current configuration must be the domain name
-                    you need to get the certificate.
+                    The server_name
+                    in the current configuration must be the domain name you need to get the certificate, support
+                    multiple domains.
                 </p>
                 </p>
                 <p v-translate>
                 <p v-translate>
                     The certificate for the domain will be checked every hour,
                     The certificate for the domain will be checked every hour,
-                    and will be renewed if it has been more than 1 month since it was last issued.
+                    and will be renewed if it has been more than 1 week since it was last issued.
                 </p>
                 </p>
                 <p v-translate>
                 <p v-translate>
                     Make sure you have configured a reverse proxy for .well-known
                     Make sure you have configured a reverse proxy for .well-known
-                    directory to HTTPChallengePort (default: 9180) before getting the certificate.
+                    directory to HTTPChallengePort before obtaining the certificate.
                 </p>
                 </p>
             </template>
             </template>
         </a-alert>
         </a-alert>
@@ -274,6 +275,10 @@ const modalClosable = ref(false)
 </style>
 </style>
 
 
 <style lang="less" scoped>
 <style lang="less" scoped>
+.ant-tag {
+    margin: 0;
+}
+
 .issue-cert {
 .issue-cert {
     margin: 15px 0;
     margin: 15px 0;
 }
 }

+ 6 - 1
frontend/src/views/preference/Preference.vue

@@ -18,7 +18,8 @@ const data = ref({
         jwt_secret: '',
         jwt_secret: '',
         start_cmd: '',
         start_cmd: '',
         email: '',
         email: '',
-        http_challenge_port: 9180
+        http_challenge_port: 9180,
+        github_proxy: ''
     },
     },
     nginx_log: {
     nginx_log: {
         access_log_path: '',
         access_log_path: '',
@@ -69,6 +70,10 @@ function save() {
                 <a-form-item :label="$gettext('HTTP Challenge Port')">
                 <a-form-item :label="$gettext('HTTP Challenge Port')">
                     <a-input-number v-model:value="data.server.http_challenge_port"/>
                     <a-input-number v-model:value="data.server.http_challenge_port"/>
                 </a-form-item>
                 </a-form-item>
+                <a-form-item :label="$gettext('Github Proxy')">
+                    <a-input v-model:value="data.server.github_proxy"
+                             :placeholder="$gettext('Chinese user: https://ghproxy.com/')"/>
+                </a-form-item>
                 <a-form-item :label="$gettext('Theme')">
                 <a-form-item :label="$gettext('Theme')">
                     <a-select v-model:value="theme">
                     <a-select v-model:value="theme">
                         <a-select-option value="auto">
                         <a-select-option value="auto">

+ 37 - 35
server/api/settings.go

@@ -1,45 +1,47 @@
 package api
 package api
 
 
 import (
 import (
-	"github.com/0xJacky/Nginx-UI/server/settings"
-	"github.com/gin-gonic/gin"
-	"net/http"
+    "github.com/0xJacky/Nginx-UI/server/settings"
+    "github.com/gin-gonic/gin"
+    "net/http"
 )
 )
 
 
 func GetSettings(c *gin.Context) {
 func GetSettings(c *gin.Context) {
-	c.JSON(http.StatusOK, gin.H{
-		"server":    settings.ServerSettings,
-		"nginx_log": settings.NginxLogSettings,
-		"openai":    settings.OpenAISettings,
-	})
+    c.JSON(http.StatusOK, gin.H{
+        "server":    settings.ServerSettings,
+        "nginx_log": settings.NginxLogSettings,
+        "openai":    settings.OpenAISettings,
+    })
 }
 }
 
 
 func SaveSettings(c *gin.Context) {
 func SaveSettings(c *gin.Context) {
-	var json struct {
-		Server   settings.Server   `json:"server"`
-		NginxLog settings.NginxLog `json:"nginx_log"`
-		Openai   settings.OpenAI   `json:"openai"`
-	}
-
-	if !BindAndValid(c, &json) {
-		return
-	}
-
-	settings.Conf.Section("server").Key("Email").SetValue(json.Server.Email)
-	settings.Conf.Section("server").Key("HTTPChallengePort").SetValue(json.Server.HTTPChallengePort)
-	settings.Conf.Section("nginx_log").Key("AccessLogPath").SetValue(json.NginxLog.AccessLogPath)
-	settings.Conf.Section("nginx_log").Key("ErrorLogPath").SetValue(json.NginxLog.ErrorLogPath)
-
-	settings.Conf.Section("openai").Key("Model").SetValue(json.Openai.Model)
-	settings.Conf.Section("openai").Key("BaseUrl").SetValue(json.Openai.BaseUrl)
-	settings.Conf.Section("openai").Key("Proxy").SetValue(json.Openai.Proxy)
-	settings.Conf.Section("openai").Key("Token").SetValue(json.Openai.Token)
-
-	err := settings.Save()
-	if err != nil {
-		ErrHandler(c, err)
-		return
-	}
-
-	GetSettings(c)
+    var json struct {
+        Server   settings.Server   `json:"server"`
+        NginxLog settings.NginxLog `json:"nginx_log"`
+        Openai   settings.OpenAI   `json:"openai"`
+    }
+
+    if !BindAndValid(c, &json) {
+        return
+    }
+
+    settings.Conf.Section("server").Key("Email").SetValue(json.Server.Email)
+    settings.Conf.Section("server").Key("HTTPChallengePort").SetValue(json.Server.HTTPChallengePort)
+    settings.Conf.Section("server").Key("GithubProxy").SetValue(json.Server.GithubProxy)
+
+    settings.Conf.Section("nginx_log").Key("AccessLogPath").SetValue(json.NginxLog.AccessLogPath)
+    settings.Conf.Section("nginx_log").Key("ErrorLogPath").SetValue(json.NginxLog.ErrorLogPath)
+
+    settings.Conf.Section("openai").Key("Model").SetValue(json.Openai.Model)
+    settings.Conf.Section("openai").Key("BaseUrl").SetValue(json.Openai.BaseUrl)
+    settings.Conf.Section("openai").Key("Proxy").SetValue(json.Openai.Proxy)
+    settings.Conf.Section("openai").Key("Token").SetValue(json.Openai.Token)
+
+    err := settings.Save()
+    if err != nil {
+        ErrHandler(c, err)
+        return
+    }
+
+    GetSettings(c)
 }
 }

Some files were not shown because too many files changed in this diff