From 89d6ee16328a26c33abffcd00d589740d4514ea0 Mon Sep 17 00:00:00 2001 From: Sytse Sijbrandij Date: Wed, 5 Jun 2013 20:08:42 +0200 Subject: This commit got lost https://github.com/gitlabhq/gitlab-recipes/commit/76ba45246e93e9c764580fe54ccfe38da751afbe --- lib/support/nginx/gitlab | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/support/nginx/gitlab b/lib/support/nginx/gitlab index b2500659bcd..be7a378b3aa 100644 --- a/lib/support/nginx/gitlab +++ b/lib/support/nginx/gitlab @@ -9,6 +9,7 @@ upstream gitlab { server { listen YOUR_SERVER_IP:80 default_server; # e.g., listen 192.168.1.1:80; In most cases *:80 is a good idea server_name YOUR_SERVER_FQDN; # e.g., server_name source.example.com; + server_tokens off; # don't show the version number, a security best practice root /home/git/gitlab/public; # individual nginx logs for this gitlab vhost -- cgit v1.2.1