Browse Source

feat(template): add reject empty host

Jacky 5 months ago
parent
commit
76ea17806a

+ 0 - 0
template/block/drupal_security.conf → template/block/drupal-security.conf


+ 0 - 0
template/block/joomla_security.conf → template/block/joomla-security.conf


+ 7 - 0
template/block/reject-empty-host.conf

@@ -0,0 +1,7 @@
+# Nginx UI Template Start
+name = "Reject Empty Host"
+author = "@leic4u"
+description = { en = "Reject for unknown server_name to prevent malicious DNS, can only be used this template in default server(server_name _).", zh_CN = "拒绝空主机头,防止其他域名恶意解析,只能在 default server(server_name _) 中使用才有效。"}
+# Nginx UI Template End
+
+return 500;

+ 0 - 0
template/block/reverse_proxy.conf → template/block/reverse-proxy.conf


+ 0 - 0
template/block/security_headers.conf → template/block/security-headers.conf


+ 0 - 0
template/block/wordpress_security.conf → template/block/wordpress-security.conf