Skip to content

厚礼蟹!

欢迎光临小魏的运维日常!

一名被运维耽误的广东靓仔
  • Next nginx 伪静态
  • Previous k8s dashboard服务

分类

  • ansible (4)
  • ceph (4)
  • docker (13)
  • kubernetes (28)
  • linux (6)
  • nginx (5)
  • openstack (7)
  • SSH (1)

近期文章

  • 提高服务器cpu、内存负载脚本
  • 各组件启动命令
  • 批量修改主机密码脚本
  • 系统cpu内存使用率过滤脚本
  • 创建逻辑卷及扩容逻辑卷

粤ICP备2021044944号

nginx php-fpm隐藏版本号

2019年2月 nginx

php-fpm隐藏版本号

vim /etc/opt/remi/php73/php.ini
expose_php = Off #注意O是大写
systemctl restart php
curl -I xxxx.com

nginx隐藏版本号

在nginx配置文件http{}字段下添加:
server——tokens off
systemctl restart nginx
curl -I xxxx.com

You may also like...

  • linux超过2T的磁盘如何分区(centos7)

    linux超过2T的磁盘如何分区(centos7)

  • kubeadm 安装k8s 1.15版

    kubeadm 安装k8s 1.15版

  • wordpress使用xmlrpc发布文章错误(parse error. not well formed)

    wordpress使用xmlrpc发布文章错误(parse error. not well formed)

厚礼蟹! © 2025. All Rights Reserved.

Powered by WordPress. Theme by Alx.