08 2021 档案
摘要:明天02:56与今天22:45相差多少小时,多少分钟 echo $time = strtotime("+ 1day", strtotime('02:56')) - strtotime('22:45'); echo "\r\n"; echo floor($time / 3600).':'.($time
阅读全文
摘要:nginx 配置 修改 nginx.conf client_max_body_size 1024M; 上传文件大小限制 sendfile on; 设置为on表示启动高效传输文件的模式 keepalive_timeout 180; 保持连接的时间,默认65s php 配置 修改 php.ini upl
阅读全文
摘要:进入nginx配置文件夹 cd /usr/local/etc/nginx/ 指定用户名 echo -n "user:" > passwd.conf 指定密码 openssl passwd password >> passwd.conf nginx 中添加 以下两个配置项 auth_basic "Pl
阅读全文

浙公网安备 33010602011771号