http { ..... server_tokens on; server_info on; server_tag bass; reset_timedout_connection on; keepalive_timeout 120; keepalive_requests 100; sendfile on; tcp_nodelay on; tcp_nopush off; ..... }
當網頁不存在時會顯示以下圖:node
修改成:python
server_tokens off; server_info off; server_tag off;
從新加載配置文件後看效果:tcp