Centos 6.9 关闭http,Nginx版本信息
来源:互联网 发布:软件验收报告模板 编辑:程序博客网 时间:2024/05/21 08:44
http隐藏版本信息
vi /etc/httpd/conf/httpd.conf
44 ServerTokens Prod
536 ServerSignature Off
重启http
service httpd restart
=========================================================
Nginx隐藏版本信息
vi /usr/local/nginx/conf/nginx.conf
http {
include mime.types;
server_tokens off; #关闭版本显示
}
重启nginx
service nginx restart
vi /etc/httpd/conf/httpd.conf
44 ServerTokens Prod
536 ServerSignature Off
重启http
service httpd restart
=========================================================
Nginx隐藏版本信息
vi /usr/local/nginx/conf/nginx.conf
http {
include mime.types;
server_tokens off; #关闭版本显示
}
重启nginx
service nginx restart
阅读全文
0 0
- Centos 6.9 关闭http,Nginx版本信息
- 让 Nginx 关闭版本显示信息
- nginx隐藏版本信息
- centos查看版本信息
- 查看CentOS版本信息
- nginx windows版本启动,关闭
- Centos Nginx 多php版本
- centos中查看版本信息
- CentOS查看系统版本信息
- centos 5.4 版本32位 安装 nginx
- Linux Centos 安装 Nginx HTTP 服务器(一)
- 修改内核文件屏蔽nginx版本信息
- 关闭X-Powered-By 信息(隐藏PHP版本信息)
- 查看CentOS内核版本等信息
- 查看安装的Centos的版本信息
- 20161031获得CentOS的版本信息
- 查看安装的centos的版本信息
- 查看已安装的CentOS版本信息
- 模块化
- 心灵鸡汤部分
- PCRE、PCRE2 以及PCRE++ 使用教程
- 35 个 Java 代码性能优化总结
- Newtonsoft.Json DataSet/DataTable转化为JSON字符串
- Centos 6.9 关闭http,Nginx版本信息
- 数据结构和算法的关系
- 关于v-model的使用,(vue)
- source insight 新手配置
- 数组和类作为函数参数
- 大白话讲解Promise(一)
- Android中TextView中的.setText和.append的区别
- codeblocks常用快捷键
- C++表达式易错知识点