# curl 192.157.192.103 -I -H "Host:
tsparrot.com"
HTTP/1.1 200 OK
Server: nginx/1.2.1
Date: Sat, 09 Feb 2019 08:31:23 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
X-Powered-By: PHP/5.4.45-0+deb7u14
Link: <
http://tsparrot.com/wp-json/>; rel="
https://api.w.org/"
Link: <
http://tsparrot.com/>; rel=shortlink
# curl 192.157.192.103 -I
HTTP/1.1 301 Moved Permanently
Server: nginx/1.2.1
Date: Sat, 09 Feb 2019 08:31:39 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
X-Powered-By: PHP/5.4.45-0+deb7u14
Location:
http://tsparrot.com/上 nginx 配置文件
nginx -T