301
Posted rsapaper
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了301相关的知识,希望对你有一定的参考价值。
server {
if ($host = a.t.com) {
return 301 https://$host$request_uri;
} # managed by Certbot
server_name a.t.com;
listen 80;
return 404; # managed by Certbot
}
Request URL: http://a.t.com/
Request Method: GET
Status Code: 301 Moved Permanently (from disk cache)
Remote Address: 7.17.2.53:80
Referrer Policy: no-referrer-when-downgrade
以上是关于301的主要内容,如果未能解决你的问题,请参考以下文章