feat(template): add reject empty host

This commit is contained in:
Jacky 2025-01-31 21:15:00 +08:00
parent 2af29eb80f
commit 76ea17806a
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
6 changed files with 7 additions and 0 deletions

View file

@ -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;