Nginx配置http转https
server { listen 80; server_name qianguo.com www.qianguo.com; rewrite ^(.*)$ https://$host$1 permanent; }
https://www.cnblogs.com/yun007/p/3739182.html
更新新的语法
server { listen 80; server_name qianguo.com www.qianguo.com; return 301 https://$server_name$request_uri; }
https://segmentfault.com/q/1010000006994159
相关推荐
nginxs 2020-11-14
Guanjs0 2020-11-13
小木兮子 2020-11-11
yserver 2020-11-11
ssihc0 2020-11-11
windle 2020-11-10
HanksWang 2020-11-10
liuchen0 2020-11-10
Freshairx 2020-11-10
ccschan 2020-11-10
liwf 2020-11-10
Guanjs0 2020-11-09
AderStep 2020-11-09
zrtlin 2020-11-09
mqfcu 2020-11-10
windle 2020-10-29