Skip to content

Commit

Permalink
Hide server_tokens (alfg#101)
Browse files Browse the repository at this point in the history
* Hide server_tokens

To comply with security best practices

* Also turn off server_tokens on cuda Nginx config
  • Loading branch information
rmens authored Dec 12, 2021
1 parent 55b46d7 commit 3b68e0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions nginx-cuda.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ http {
root /www/static;
sendfile off;
tcp_nopush on;
server_tokens off;
access_log /dev/stdout combined;

# Uncomment these lines to enable SSL.
Expand Down
1 change: 1 addition & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ http {
root /www/static;
sendfile off;
tcp_nopush on;
server_tokens off;
access_log /dev/stdout combined;

# Uncomment these lines to enable SSL.
Expand Down

0 comments on commit 3b68e0a

Please sign in to comment.