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