测试Nginx服务器开启pagespeed加速 By duncan21Posted on 2016 年 10 月 31 日2016 年 10 月 31 日Posted in LinuxTagged ngixn, pagespeedNo Comments on 测试Nginx服务器开启pagespeed加速 #进入 nginx 源码同级目录,我的是在/root下面 cd /root #下载最新的稳定版模块 wget https://github.com/pagespeed/ngx_pagespe[……] 阅读全文 Read More
nginx防止sql注入攻击安全设置 By duncan21Posted on 2016 年 10 月 31 日Posted in LinuxTagged sql注入No Comments on nginx防止sql注入攻击安全设置 cat security.conf ## Block SQL injections if ($request_uri ~* "[+|(%20)]union[+|(%20)]") { ret[......]阅读全文 Read More
工作中nginx的重写案例记录 By duncan21Posted on 2016 年 10 月 31 日Posted in LinuxTagged 301, nginx, rewriteNo Comments on 工作中nginx的重写案例记录 需求: 因为运营的需求,需要将所有网站的目录test1的访问请求跳转到tes2, 如何将abc.com/test1/1.html ?301跳转到#abc.com/test2/1.html([……] 阅读全文 Read More
[转]房地产、银行、贷款、政府、贫民、富民、泡沫、经济崩溃,他们之间是什么联系关系 By duncan21Posted on 2016 年 10 月 17 日Posted in repostTagged 房地产No Comments on [转]房地产、银行、贷款、政府、贫民、富民、泡沫、经济崩溃,他们之间是什么联系关系 作者:费寒冬 链接:https://www.zhihu.com/question/19894997/answer/123847049 来源:知乎 著作权归作者所有,转载请联系作者获得授权。 [……] 阅读全文 Read More
Linux下pxe+dhcp+http+kickstart无人值守自动安装系统部署 By duncan21Posted on 2016 年 10 月 10 日Posted in LinuxTagged 批量安装No Comments on Linux下pxe+dhcp+http+kickstart无人值守自动安装系统部署 适用场景: 1)需要部署上百台甚至上千上万台的系统安装 2)没有光驱 1.pxe介绍 PXE(preboot execute environment,预启动执行环境)是[……] 阅读全文 Read More