1Panel icon indicating copy to clipboard operation
1Panel copied to clipboard

[Feature] The default site adds 444 status code and 301, 302

Open nicheng-he opened this issue 1 year ago • 12 comments

1Panel Version

v1.10.22-lts

Please describe your needs or suggestions for improvements

默认站点添加444状态码以及301、302

Please describe the solution you suggest

No response

Additional Information

No response

nicheng-he avatar Dec 27 '24 12:12 nicheng-he

意思是默认站点返回444?

zhengkunwang223 avatar Dec 27 '24 13:12 zhengkunwang223

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Does it mean the default site returns 444?

wanghe-fit2cloud avatar Dec 27 '24 13:12 wanghe-fit2cloud

意思是默认站点返回444?

对的,支持程度是否可以达到选择444、301永久重定向、302的临时重定向以及现有的方式

nicheng-he avatar Dec 27 '24 13:12 nicheng-he

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Does it mean the default site returns 444?

Yes, is it possible to support 444, 301 permanent redirection, 302 temporary redirection and existing methods?

wanghe-fit2cloud avatar Dec 27 '24 13:12 wanghe-fit2cloud

意思是默认站点返回444?

对的,支持程度是否可以达到选择444、301永久重定向、302的临时重定向以及现有的方式

当然 301、302的地址可以是一个input输入框

nicheng-he avatar Dec 27 '24 13:12 nicheng-he

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Does this mean the default site returns 444?

Yes, is it possible to support 444, 301 permanent redirection, 302 temporary redirection and existing methods?

Of course, the addresses of 301 and 302 can be set additionally.

wanghe-fit2cloud avatar Dec 27 '24 13:12 wanghe-fit2cloud

意思是默认站点返回444?

对的,支持程度是否可以达到选择444、301永久重定向、302的临时重定向以及现有的方式

当然 301、302的地址可以是一个input输入框

你可以在网站配置文件那修改 或者你有配置文件示例吗

zhengkunwang223 avatar Dec 27 '24 14:12 zhengkunwang223

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Does this mean the default site returns 444?

Yes, is it possible to support 444, 301 permanent redirection, 302 temporary redirection and existing methods?

Of course, the addresses of 301 and 302 can be an input box

You can modify it in the website configuration file Or do you have an example config file?

wanghe-fit2cloud avatar Dec 27 '24 14:12 wanghe-fit2cloud

意思是默认站点返回444?

对的,支持程度是否可以达到选择444、301永久重定向、302的临时重定向以及现有的方式

当然 301、302的地址可以是一个input输入框

你可以在网站配置文件那修改 或者你有配置文件示例吗

也就是说我单独配置一个网站设置为默认站点自行选择 return 444 or return 301/302

nicheng-he avatar Dec 27 '24 14:12 nicheng-he

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Does it mean the default site returns 444?

Yes, is it possible to support 444, 301 permanent redirection, 302 temporary redirection and existing methods?

Of course, the addresses of 301 and 302 can be an input box.

You can modify it in the website configuration file or do you have a configuration file example?

That is to say, I configure a website separately and set it as the default site. I choose return 444 or return 301/302.

wanghe-fit2cloud avatar Dec 27 '24 14:12 wanghe-fit2cloud

意思是默认站点返回444?

对的,支持程度是否可以达到选择444、301永久重定向、302的临时重定向以及现有的方式

当然 301、302的地址可以是一个input输入框

你可以在网站配置文件那修改 或者你有配置文件示例吗

也就是说我单独配置一个网站设置为默认站点自行选择 return 444 or return 301/302

是这样的

zhengkunwang223 avatar Dec 27 '24 15:12 zhengkunwang223

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Does it mean the default site returns 444?

Yes, is it possible to support 444, 301 permanent redirection, 302 temporary redirection and existing methods?

Of course, the addresses of 301 and 302 can be an input box.

You can modify it in the website configuration file or do you have a configuration file example?

That is to say, I configure a website separately and set it as the default site. I choose return 444 or return 301/302.

That's it

wanghe-fit2cloud avatar Dec 27 '24 15:12 wanghe-fit2cloud