02 2021 档案
摘要:1.查看机器硬盘列表:fdisk -l 2.格式化新硬盘:mkfs.ext4 /dev/vdb 3.获取新硬盘UUID:blkid /dev/vdb 4.修改vim /etc/fstab 5.生效挂载:mount -a
阅读全文
摘要:1.直接上nginx配置文件 注意: 后端端口使用wss:proxy_pass https://wss_8; 后端端口使用ws :proxy_pass http://wss_8; upstream wss_8{ server 127.0.0.1:8004; } ### server { listen
阅读全文
摘要:访问会以下载文件的方式将获取到的值保存在文件中 upstream docker_2 { server 10.17.172.244:8080; } server { listen 81; server_name localhost; access_log /var/log/nginx/mytest_a
阅读全文
摘要:1.匹配url:https://bby.ios.xxx.com:8081/zd?sid=15&key=repx_2530 匹配到sid的值根据sid值进行代理分发 2.达到效果:请求https://bby.ios.xxx.com:8081/xxxx?sid=xxx&xxxxx 根据sid的值转发到对
阅读全文
摘要:2021-02-02 15:26 发布至今 2021-08-19 16:30 终于得到解决办法: 经查阅资料得知: 1.mysql5.7的log_warnings默认值是2,https://dev.mysql.com/doc/refman/5.7/en/server-system-variables
阅读全文