diff options
| author | czaks <marcin@6irc.net> | 2015-04-06 18:42:23 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2015-04-06 18:42:23 +0200 |
| commit | 64a0b486f2dd49a749104eb200127208f7b592df (patch) | |
| tree | b274a26f1fd1108b2ac19719ae9ba35f04c0591e | |
| parent | 8fcb9195c83fbb5d42bfaa2e17c32c98269c8fe7 (diff) | |
smart_build.php: nginx – cache 404 replies for 120s
| -rw-r--r-- | smart_build.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smart_build.php b/smart_build.php index 43734e4f..993d7858 100644 --- a/smart_build.php +++ b/smart_build.php @@ -169,7 +169,7 @@ function die_404() { global $config; else { header("Location: ".$config['page_404']); } - + header("X-Accel-Expires: 120"); die(); } |
