cuirl命令很强大,可以用来查看网站的server程序
curl -i www.taobao.com HTTP/1.1 301 Moved Permanently Server: Tengine Date: Thu, 24 Sep 2020 12:20:04 GMT Content-Type: text/html Content-Length: 278 Connection: keep-alive Location: https://www.taobao.com/ Via: cache6.cn1058[,0] Timing-Allow-Origin: * EagleId: b68c8b1a16009500043641287e <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html> <head><title>301 Moved Permanently</title></head> <body bgcolor="white"> <h1>301 Moved Permanently</h1> <p>The requested resource has been assigned a new permanent URI.</p> <hr/>Powered by Tengine</body> </html>
可以看到淘宝用的ngix的变种Tengine