summaryrefslogtreecommitdiff
path: root/usr.sbin/nginx
diff options
context:
space:
mode:
authorStephan A. Rickauer <stephan@cvs.openbsd.org>2014-01-28 14:48:54 +0000
committerStephan A. Rickauer <stephan@cvs.openbsd.org>2014-01-28 14:48:54 +0000
commit9fad45642f1ad667085bf7be2cdde552f0f16a9b (patch)
treee5ed9f99836cbcaec74105573992a0cf1add7999 /usr.sbin/nginx
parentad3bfb084c679ea638613cf694e40d0542187607 (diff)
Do not send Nginx version number in error pages and Server header by default. OK robert@, sthen@ and jasper@.
Diffstat (limited to 'usr.sbin/nginx')
-rw-r--r--usr.sbin/nginx/conf/nginx.conf4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/nginx/conf/nginx.conf b/usr.sbin/nginx/conf/nginx.conf
index 101aec36139..4d31d59bf4b 100644
--- a/usr.sbin/nginx/conf/nginx.conf
+++ b/usr.sbin/nginx/conf/nginx.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: nginx.conf,v 1.15 2013/10/09 09:10:08 weerd Exp $
+# $OpenBSD: nginx.conf,v 1.16 2014/01/28 14:48:53 stephan Exp $
#user www;
worker_processes 1;
@@ -37,6 +37,8 @@ http {
#gzip on;
+ server_tokens off;
+
server {
listen 80;
listen [::]:80;