2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 14:57:16 +08:00

fix: 统一重定向状态码为308

This commit is contained in:
耗子
2024-10-23 15:09:17 +08:00
parent e32c887bd7
commit 63a934510e

View File

@@ -418,7 +418,7 @@ func (p *Parser) SetHTTPRedirect(httpRedirect bool) error {
if !found497 && httpRedirect {
directives = append(directives, &config.Directive{
Name: "error_page",
Parameters: []string{"497", "=307", "https://$host:$server_port$request_uri"},
Parameters: []string{"497", "=308", "https://$host:$server_port$request_uri"},
})
}