Skip to content

Commit

Permalink
ansible: nginx: Don't send version number
Browse files Browse the repository at this point in the history
The version number isn't really needed for anything,
and it makes us a more interesting target for automated vulnerability crawlers.
  • Loading branch information
jbruechert committed Feb 23, 2024
1 parent db6554c commit 585ca35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/nginx/files/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ http {
sendfile on;
tcp_nopush on;
types_hash_max_size 2048;
# server_tokens off;
server_tokens off;

# server_names_hash_bucket_size 64;
# server_name_in_redirect off;
Expand Down

0 comments on commit 585ca35

Please sign in to comment.