擁有自己的網域名稱並且是備案過
擁有ssl證書,證書可以去阿里那邊免費申請(每個號限領取20次)
到這裡進行付款就可以了,購買之後就可以在阿里中看到證書了。購買完之後就需要進行配置證書資訊,將證書關聯到網域名稱。
這裡我附上已經簽發的證書,如果是還沒配置的那麼將在未簽發中,簽發在配置完資訊之後大概10分鐘證書就可以下來了。
server
try_files $uri $uri/
/index.php?$query_string;
} error_page 404
/404.html;
# redirect server error pages to the static page /
50x.html
#error_page 500
502503
504/
50x.html;
location =
/50x.html
# proxy the php scripts to apache listening on 127.0
.0.1:80
##location ~
.php$
# pass the php scripts to fastcgi server listening on 127.0
.0.1
:9000
#location ~
.php$
# deny access to .htaccess files,
if apache's document root
# concurs with nginx's one
#location ~
/.ht
}
配置完後在linux上執行命令檢查是否有錯誤
cd /sbin //進入目錄
./nginx -t //檢測
正常情況顯示:
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
完成之後重啟nginx、使用https正常訪問**,如果訪問不到那麼就需要檢視下443埠是否開啟。 CODING 企業微信小程式上線了
在 我的迭代 中可以檢視已經設定的迭代,將按照迭代內關聯事項的完成數量,計算該迭代的完成進度。在合併請求頁中可以檢視由個人發起的 合併請求,及待評審的 合併請求。構建記錄頁會顯示各個專案的構建記錄,包含成功或失敗的記錄。使用左側 全部專案 可按照不同的專案篩選並檢視相應的構建記錄。訊息欄中會推送當前...
微信小程式 上拉載入
oa系統中,領導要對員工的的申請進行審批,如此多的員工,不可能一下子都顯示出來,需要後台進行分頁,每次上拉觸底載入一頁,每次上拉觸底載入一頁。注 因為各方面原因,不能上傳源 只提供思路和偽 data onload function options onreachbottom function ini...
微信小程式 上下左右滑動
data handletouchmove function event let currentx event.touches 0 pagex let currenty event.touches 0 pagey let tx currentx this.data.lastx let ty curre...