diff --git a/template/block/drupal_security.conf b/template/block/drupal_security.conf index aa6e56e1..91fefca2 100644 --- a/template/block/drupal_security.conf +++ b/template/block/drupal_security.conf @@ -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; -} \ No newline at end of file +} diff --git a/template/block/joomla_security.conf b/template/block/joomla_security.conf index 7661bedb..31358f63 100644 --- a/template/block/joomla_security.conf +++ b/template/block/joomla_security.conf @@ -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)$ { diff --git a/template/block/security_headers.conf b/template/block/security_headers.conf index a4a23bba..afb5bea4 100644 --- a/template/block/security_headers.conf +++ b/template/block/security_headers.conf @@ -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"; \ No newline at end of file +add_header X-Frame-Options "SAMEORIGIN"; diff --git a/template/block/wordpress_security.conf b/template/block/wordpress_security.conf index 25e973b0..0e8d876b 100644 --- a/template/block/wordpress_security.conf +++ b/template/block/wordpress_security.conf @@ -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