mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 14:57:16 +08:00
fix: 统一重定向状态码为308
This commit is contained in:
@@ -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"},
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user