From 529bfb6b327685a9c1cdcc4ac24c2e5c00b8aa8b Mon Sep 17 00:00:00 2001 From: buyfakett Date: Tue, 25 Jun 2024 17:36:53 +0800 Subject: [PATCH] Update nginx.conf --- download_file/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/download_file/nginx.conf b/download_file/nginx.conf index 5308e35..d408544 100644 --- a/download_file/nginx.conf +++ b/download_file/nginx.conf @@ -73,6 +73,10 @@ http { gzip_buffers 32 4k; # 设置gzip压缩针对的HTTP协议版本,没做负载的可以不用 # gzip_http_version 1.0; + # 不显示 openrestry 版本及信息 + server_tokens off; + more_clear_headers 'Server'; + server { lua_need_request_body on; set $resp_body "";