summaryrefslogtreecommitdiff
path: root/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx.conf')
-rw-r--r--nginx.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/nginx.conf b/nginx.conf
index c8668c0..d4517f5 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -14,6 +14,9 @@ server {
server_name jayrup.me;
root /usr/share/nginx/html;
+ # Don't leak nginx version on error pages / server header
+ server_tokens off;
+
# Serve PDFs directly
location ~* \.pdf$ {
add_header Content-Type application/pdf;