Wesley13 Wesley13
3年前
NGINX 文件类型解释漏洞整理
nginx文件类型错误解析漏洞www.xxx.com/1.jpg内容为PHP代码,如<?phpphpinfo();?后面加任意.phpwww.xxx.com/1.jpg/xxx.php导致代码被执行php.inicgi.fix\_pathinfo1PHP\_INI\_ALL
Stella981 Stella981
3年前
LNMP环境下Nginx、PHP、MySQL优化
修改/usr/local/php/etc/phpfpm.confPHP5.2调整:max\_children的值PHP5.3以上版本调整:pm.min\_spare\_servers和pm.max\_spare\_servers的值适当增加最大值可以按内存xxMB/2/20的整数来算,最小值可以按内存/2/40的整数来算,可以少点或多大。如果
Stella981 Stella981
3年前
Apache VS Nginx,你选对了吗?
点击上方“民工哥Linux运维”,选择“置顶公众号”有趣有内涵的文章第一时间送达!Apache和Nginx都属于Web服务器,两者都实现了HTTP1.1协议。无论是选择哪个,都是根据应用场景来决定的,所以些文件仅从应用场景出发,来对比两者之间的各自特点。要让正确的工具,做出正确的事。Web服务器Web服务器也称
Stella981 Stella981
3年前
2020 ccf 华为Serverless工作负载预测baseline score=0.0846分享
赛题地址:https://www.datafountain.cn/competitions/468/datasets(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fwww.datafountain.cn%2Fcompetitions%2F468%2Fdatasets)0.0846
可莉 可莉
3年前
2020 ccf 华为Serverless工作负载预测baseline score=0.0846分享
赛题地址:https://www.datafountain.cn/competitions/468/datasets(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fwww.datafountain.cn%2Fcompetitions%2F468%2Fdatasets)0.0846
Stella981 Stella981
3年前
Nginx打印请求头和响应头
http{log_formatlog_req_resp'$remote_addr$remote_user$time_local''"$request"$status$body_bytes_sent'"$http_referer""$http_user_agent"$http_x_real_
Stella981 Stella981
3年前
Linux工具安装和常用配置
1常用开发工具安装1Nginx系列(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fwww.cnblogs.com%2Fwyy1234%2Fcategory%2F1443110.html)2mongoDB系列(https://www.o
Stella981 Stella981
3年前
Centos8下安装nginx【转】
Centos8下安装nginx准备工作(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fblog.csdn.net%2Fpipichao%2Farticle%2Fdetails%2F105542286%23_4)开始安装(https://www.osch
Wesley13 Wesley13
3年前
Linux Nginx安装以及可能出现错误
转载请标明出处http://coderknock.com(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fcoderknock.com)
Stella981 Stella981
3年前
Fastdfs安装_nginx进行图片动态压缩
说明1.因为上传的图片较大,部分页面直接引用图片地址,则造成页面加载缓慢问题。2.考虑到服务器空间问题,我们没有进行上传缩略图。仅仅是上传了原图3.为了优化页面加载图片的时间问题,所以对图片进行动态缩放。PS:如果访问量较高,建议进行存储缩略图图片缩放采用nginx的http\_image\_filter\_module