chore: update zh_CN translations for templates

This commit is contained in:
0xJacky 2023-12-13 13:39:24 +08:00
parent 9a6900b07f
commit 4984771c7d
No known key found for this signature in database
GPG key ID: B6E4A6E4A561BAF0
4 changed files with 8 additions and 8 deletions

View file

@ -1,7 +1,7 @@
# Nginx UI Template Start
name = "Drupal Security"
author = "@sanvu88"
description = { en = "Drupal Security Config", vi_VN = "Cấu hình bảo mật cho Drupal"}
description = { en = "Drupal Security Config", zh_CN = "Drupal 安全配置", vi_VN = "Cấu hình bảo mật cho Drupal"}
# Nginx UI Template End
location ~ ((^|/)\.|^.*\.yml$|^/sites/.*/private/|^/sites/[^/]+/[^/]*settings.*\.php$) {
@ -14,4 +14,4 @@ location ~ ^/sites/[^/]+/files/.*\.php$ {
location ~ /vendor/.*\.php$ {
return 444;
}
}

View file

@ -1,7 +1,7 @@
# Nginx UI Template Start
name = "Joomla Security"
author = "@sanvu88"
description = { en = "Joomla Security Config", vi_VN = "Cấu hình bảo mật cho Joomla"}
description = { en = "Joomla Security Config", zh_CN = "Joomla 安全配置", vi_VN = "Cấu hình bảo mật cho Joomla"}
# Nginx UI Template End
location ~* /(images|cache|media|logs|tmp)/.*\.(gz|tar|bzip2|7z|php|php5|php7|log|error|py|pl|kid|love|cgi|shtml|phps|pht|jsp|asp|sh|bash)$ {

View file

@ -1,7 +1,7 @@
# Nginx UI Template Start
name = "Nginx Security Headers"
author = "@sanvu88"
description = { en = "Nginx Security Headers Config", vi_VN = "Cấu hình Headers tăng cường bảo mật"}
description = { en = "Nginx Security Headers Config", zh_CN = "Nginx Headers 安全配置", vi_VN = "Cấu hình Headers tăng cường bảo mật"}
# Nginx UI Template End
add_header X-XSS-Protection "1; mode=block" always;
@ -9,4 +9,4 @@ add_header X-Content-Type-Options "nosniff" always;
add_header Referrer-Policy "no-referrer-when-downgrade" always;
add_header Content-Security-Policy "default-src 'self' http: https: ws: wss: data: blob: 'unsafe-inline'; frame-ancestors 'self';" always;
add_header Permissions-Policy "interest-cohort=()" always;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-Frame-Options "SAMEORIGIN";

View file

@ -1,16 +1,16 @@
# Nginx UI Template Start
name = "WordPress Security"
author = "@sanvu88"
description = { en = "WordPress Security Config", vi_VN = "Cấu hình bảo mật cho WordPress"}
description = { en = "WordPress Security Config", zh_CN = "WordPress 安全配置", vi_VN = "Cấu hình bảo mật cho WordPress"}
[variables.blockUserAPI]
type = "boolean"
name = { en = "Block WordPress User API", vi_VN = "Chặn truy cập danh sách user"}
name = { en = "Block WordPress User API", zh_CN = "禁用用户 API", vi_VN = "Chặn truy cập danh sách user"}
value = true
[variables.blockXMLRPC]
type = "boolean"
name = { en = "Block WordPress XMLRPC", vi_VN = "Chặn truy cập xmlrpc.php"}
name = { en = "Block WordPress XMLRPC", zh_CN = "禁用 XMLRPC", vi_VN = "Chặn truy cập xmlrpc.php"}
value = true
# Nginx UI Template End