aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-07-21 15:27:25 +0100
committerGareth Rees <gareth@mysociety.org>2014-07-21 15:27:25 +0100
commitfa57f7fe9f66cb6fd648e0e976ab77b506a40819 (patch)
treeee79394a76783c4507efedaecb0a6dc3a649d96d
parent1f27ccaa938267f10dc120283f72181c445f2cd6 (diff)
Turn nginx server_tokens off
-rw-r--r--config/nginx.conf.example3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/nginx.conf.example b/config/nginx.conf.example
index 6bbf6d66c..b2f9e98b8 100644
--- a/config/nginx.conf.example
+++ b/config/nginx.conf.example
@@ -15,6 +15,9 @@ server {
try_files $uri @ruby;
}
+ server_tokens off;
+
+
error_page 500 502 503 504 /500.html;
error_page 404 /404.html;
error_page 422 /422.html;