1Panel
1Panel copied to clipboard
[Feature] The default site adds a closed connection and redirect option
1Panel Version
专业版 v1.10.29-lts
Please describe your needs or suggestions for improvements
网站默认站点添加两个选项, 关闭连接:所有未绑定的域名和IP都直接关闭连接 重定向:所有未绑定的域名和IP都直接重定向到自定义网站上,如:访问未绑定域名damian.com就直接重定向到googlehtteps
Please describe the solution you suggest
No response
Additional Information
No response
还有url跳转选项
如果设置了默认站点 从 nginx server_name 的角度来讲 是不能判断是不是未绑定的域名 的 你是否有好的方案?
暂时关闭此 Issue。如后续仍有相关情况,欢迎继续反馈讨论。
如果设置了默认站点 从 nginx server_name 的角度来讲 是不能判断是不是未绑定的域名 的 你是否有好的方案?
感觉可以用那天讨论的固定一个 default_server 的 server 配置,在这个 server 配置中进行进一步的处理的方案。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
If the default site is set, from the perspective of nginx server_name, it is impossible to determine whether it is an unbound domain name. Do you have a good solution?
I feel that I can use the server configuration that fixed a default_server that I discussed that day to perform further processing in this server configuration.