diff options
| author | Gareth Rees <gareth@mysociety.org> | 2014-07-21 15:27:25 +0100 |
|---|---|---|
| committer | Gareth Rees <gareth@mysociety.org> | 2014-07-21 15:27:25 +0100 |
| commit | fa57f7fe9f66cb6fd648e0e976ab77b506a40819 (patch) | |
| tree | ee79394a76783c4507efedaecb0a6dc3a649d96d /config | |
| parent | 1f27ccaa938267f10dc120283f72181c445f2cd6 (diff) | |
Turn nginx server_tokens off
Diffstat (limited to 'config')
| -rw-r--r-- | config/nginx.conf.example | 3 |
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; |
