Commit 88deb2217af336d014c91dc8b5398ebd99a674da
Exists in
master
and in
4 other branches
Merge branch 'server-token' of /home/git/repositories/gitlab/gitlabhq
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
lib/support/nginx/gitlab
... | ... | @@ -9,6 +9,7 @@ upstream gitlab { |
9 | 9 | server { |
10 | 10 | listen YOUR_SERVER_IP:80 default_server; # e.g., listen 192.168.1.1:80; In most cases *:80 is a good idea |
11 | 11 | server_name YOUR_SERVER_FQDN; # e.g., server_name source.example.com; |
12 | + server_tokens off; # don't show the version number, a security best practice | |
12 | 13 | root /home/git/gitlab/public; |
13 | 14 | |
14 | 15 | # individual nginx logs for this gitlab vhost | ... | ... |