Skip to content

Commit

Permalink
turn nginx server tokens off
Browse files Browse the repository at this point in the history
  • Loading branch information
psyb0t committed May 22, 2024
1 parent d27a551 commit 56162f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,8 @@ http {
# Rate limiting to prevent brute force attacks
limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s;

# Disable server tokens
server_tokens off;

include /etc/nginx/sites/*.conf;
}

0 comments on commit 56162f9

Please sign in to comment.