09 2023 档案
摘要:server { listen 80; #填写证书绑定的域名 server_name <yourdomain>; #将所有HTTP请求通过rewrite指令重定向到HTTPS。 rewrite ^(.*)$ https://$host$1; location / { index index.html
阅读全文
摘要:1 #!/bin/bash 2 3 #获得当前文件下所有的zip文件名,files是个字符串 4 files=$(ls *.zip) 5 6 #保存旧的分割符 7 OLD_IFS="$IFS" 8 9 #新分割符为空格 10 IFS=" " 11 12 #将files用空格分割成数组 13 arr=
阅读全文