Skip to content

Commit

Permalink
feat(template): add reject empty host
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJacky committed Jan 31, 2025
1 parent 2af29eb commit 76ea178
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions template/block/reject-empty-host.conf
Original file line number Diff line number Diff line change
@@ -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;
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 76ea178

Please sign in to comment.