nginx复习,及https
一.视频:https://www.bilibili.com/video/BV1zJ411w7SV?from=search&seid=10299567993406816639
二.安装不要按http://nginx.org/en/linux_packages.html#RHEL-CentOS做即可
三. location优先级,见https://my.oschina.net/foreverich/blog/800359
四. 负载均衡----配置好各个端口(或项目)后, 在http中写upstream img80(指向配置好的东东),然后写个server+location(proxy_pass http://img80;)
参考: https://www.cnblogs.com/luxiaoyao/p/10034009.html, https://www.cnblogs.com/riasky/p/3473512.html
https参见: https://www.bilibili.com/video/BV1Db411F7bx?p=14
1、生成RSA密钥的方法
openssl genrsa -des3 -out privkey.pem 2048
2、 如果是自己做测试,那么证书的申请机构和颁发机构都是自己。就可以用下面这个命令来生成证书:
openssl req -new -x509 -key privkey.pem -out cacert.pem -days 1095
远程开启redis-server redis.windows.conf (需要修改redis.windows.conf中bind 127.0.0.1与protected-mode)
https://www.cnblogs.com/royfans/p/12367350.html

浙公网安备 33010602011771号