Skip to content

Commit

Permalink
默认隐藏nginx版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
vanjoge committed Oct 23, 2024
1 parent 5e22ca7 commit d67a2cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ http {
#keepalive_timeout 65;

#gzip on;

server_tokens off;

server {

Expand Down
2 changes: 1 addition & 1 deletion script/nginx/nginx_nowss.conf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ http {
#keepalive_timeout 65;

#gzip on;

server_tokens off;

server {

Expand Down

0 comments on commit d67a2cd

Please sign in to comment.