Fully block Server header
This commit is contained in:
@ -2,6 +2,8 @@ worker_processes auto;
|
||||
|
||||
error_log /var/log/nginx/error.log;
|
||||
|
||||
load_module /usr/lib/nginx/modules/ngx_http_headers_more_filter_module.so;
|
||||
|
||||
pcre_jit on;
|
||||
|
||||
events {
|
||||
@ -13,6 +15,7 @@ http {
|
||||
default_type application/octet-stream;
|
||||
|
||||
server_tokens off;
|
||||
more_clear_headers "Server";
|
||||
|
||||
types_hash_max_size 2048;
|
||||
types_hash_bucket_size 128;
|
||||
|
Reference in New Issue
Block a user