昨晚优化了一下NGINX和系统内核及防盗链设置,讲一下详细过程 NGINX配置TLS1.3无效的解决办法 Centos 8安装LNMP(PHP-7.4.7 Nginx-1.18.0 MariaDB-10.4.13) Centos7.7安装LNMP(PHP-7.4.5 Nginx-1.18.0 MariaDB-10.4.12) 打造最强NGINX HTTPS配…
让nginx列表目录并设置文件显示为G和MB格式,并设置时间为服务器本地时间 location / { root /data/www/file //指定实际目录绝对路径; autoindex on; //开启目录浏览功能; autoindex_exact_size off; //关闭详细文件大小统计,让文件大小显示MB,GB单位,默认为b; autoinde…
禁用PHP不安全函数 vi /usr/local/php/etc/php.ini disable_functions = system,exec,shell_exec,passthru,proc_open,proc_close, proc_get_status,checkdnsrr,getmxrr,getservbyname,getservbyport, s…