smart_build.php: nginx – cache 404 replies for 120s
This commit is contained in:
parent
8fcb9195c8
commit
64a0b486f2
@ -169,7 +169,7 @@ function die_404() { global $config;
|
|||||||
else {
|
else {
|
||||||
header("Location: ".$config['page_404']);
|
header("Location: ".$config['page_404']);
|
||||||
}
|
}
|
||||||
|
header("X-Accel-Expires: 120");
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user