Skip to content

Commit 3b68e0a

Browse files
authored
Hide server_tokens (alfg#101)
* Hide server_tokens To comply with security best practices * Also turn off server_tokens on cuda Nginx config
1 parent 55b46d7 commit 3b68e0a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

nginx-cuda.conf

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ http {
3535
root /www/static;
3636
sendfile off;
3737
tcp_nopush on;
38+
server_tokens off;
3839
access_log /dev/stdout combined;
3940

4041
# Uncomment these lines to enable SSL.

nginx.conf

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ http {
4444
root /www/static;
4545
sendfile off;
4646
tcp_nopush on;
47+
server_tokens off;
4748
access_log /dev/stdout combined;
4849

4950
# Uncomment these lines to enable SSL.

0 commit comments

Comments
 (0)