nginx組態檔
server
{ listen 80;
listen 443 ssl http2; server_name www.atianzi.com; index index.php index.html index.htm default.php default.htm default.html; root /www/wwwroot/atianzi; if ($server_port !~ 443){ rewrite ^(.*) https://www.atianzi.com$1 permanent; }
使用檢測工具是顯示301的,通過搜索的各種方法找不到解決問題。
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/132371.html
標籤:搜索引擎技術
上一篇:后臺管理系統設計
下一篇:關于spring boot + spring cloud 的為服務專案,運行一段時間會報Java heap space
