Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nicheng-he opened this issue Dec 27, 2024 · 12 comments
Open

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

nicheng-he opened this issue Dec 27, 2024 · 12 comments
Assignees

Comments

@nicheng-he
Copy link

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

@wanghe-fit2cloud wanghe-fit2cloud changed the title [Feature] 默认站点添加444状态码以及301、302 [Feature] The default site adds 444 status code and 301, 302 Dec 27, 2024
@zhengkunwang223
Copy link
Member

意思是默认站点返回444?

@wanghe-fit2cloud
Copy link
Member

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


Does it mean the default site returns 444?

@nicheng-he
Copy link
Author

意思是默认站点返回444?

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

@wanghe-fit2cloud
Copy link
Member

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?

@nicheng-he
Copy link
Author

nicheng-he commented Dec 27, 2024

意思是默认站点返回444?

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

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

@wanghe-fit2cloud
Copy link
Member

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.

@zhengkunwang223
Copy link
Member

意思是默认站点返回444?

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

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

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

@wanghe-fit2cloud
Copy link
Member

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?

@nicheng-he
Copy link
Author

意思是默认站点返回444?

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

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

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

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

@wanghe-fit2cloud
Copy link
Member

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.

@zhengkunwang223
Copy link
Member

意思是默认站点返回444?

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

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

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

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

是这样的

@wanghe-fit2cloud
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants