搜索内容

nginx

  • nginx

    宝塔Nginx代刷网安全规则

    宝塔Nginx代刷网安全规则 [图片] #禁止静态资源的php动态执行 location ~ ^/assets/(.*)\.(php|php3|php5|asp) { return 403; } ……
    wanghaha 2023-10-15
  • nginx

    nginx 配置禁止电脑pc访问,禁止抓取

    #禁止pc访问,curl定时任务,https://tool.lu/useragent 添加白名单浏览器版本号 set $mobile_request '0'; if ($http_user_agent ~* (curl|Android|iPhone|iP……
    wanghaha 2023-10-15
  • centos

    lnmp 安装云锁

    云锁官方 https://yunsuo.qianxin.com/cloud/download pc管理端 https://download.yunsuo.qianxin.com/v3/%E4%BA%91%E9%94%81%E5%AE%A2%E6%88%B7%E7%AB%AF(%E5……
    wanghaha 2022-09-24
  • nginx

    隐藏php版本号和nginx版本号

    nginx和php隐藏版本号 PHP配置文件:/usr/local/php/etc/php.ini 查配置路径位置;php -i | grep php.ini 查找expose_php参数 将expose_php = On改成expose_php……
    wanghaha 2022-05-20
  • nginx

    nginx添加密码访问,给你的后台添加一道防护

    1.安装 htpasswd 工具,也可以不安装 这里直接 yum 进行安装,你也可根据需要选择编译安装: [root@uuu ~]# yum  -y install httpd-tools https://blog.csd……
    wanghaha 2021-11-21
  • nginx

    Nginx开启Brotli和Gzip压缩 加速访问 缓存

    浏览器缓存 下面是把这些数据缓存在用户浏览器上,下次调用刷新就是304返回数据,本地调用 location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|ico|x-icon|woff2|j……
    wanghaha 2020-06-20