mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-28 09:20:58 +01:00
smart_build.php: nginx – cache 404 replies for 120s
This commit is contained in:
parent
5c5751647d
commit
7c78dad6d8
@ -169,7 +169,7 @@ function die_404() { global $config;
|
||||
else {
|
||||
header("Location: ".$config['page_404']);
|
||||
}
|
||||
|
||||
header("X-Accel-Expires: 120");
|
||||
die();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user