默认conf指向位置
2024-09-30 11:21:42
查看nginx 默认配置文件所在位置
>> nginx -t
print --> nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
>> vim /etc/nginx/nginx.conf
text --> include /etc/nginx/conf.d/*.conf;
这是nginx默认读取配置文件的位置
现在在后面加上我们自己的新配置文件路径
include /opt/www/wwwroot/test/nginx/conf/*.conf;
include /opt/www/wwwroot/test/nginx/dev-conf/*.conf;
nginx重新加载配置文件
service nginx reload
最新文章
- GLEW OpenGL Access violation when using glGenVertexArrays
- paip. 内存占用少的php ide选择评测总结
- JavaScript数据类型(转)
- mini2440移植uboot-2008.10 (一)
- String.format 细节
- 【HDOJ】2144 Evolution
- [华为机试练习题]55.最大公约数 &;amp; 多个数的最大公约数
- (27)How to stay calm when you know you'll be stressed
- [hdu P4334] Trouble
- SignalR 前期简单配置
- python查看及修改当前的工作路径
- 吴裕雄 11-MySQL查询数据
- PHP上传文件参考配置大文件上传
- C#往SQLServer中插入大数据
- NSData 方法
- “小小科技女神”与微软DigiGirlz Day的约会
- MAC系统 输入管理员账户密码 登录不上
- JVM Guide
- php常用函数htmlspecialchars、strip_tags、addslashes解析
- 实战:ADFS3.0单点登录系列-集成MVC
热门文章
- 如何理解signal函数声明
- (翻译) Android ListView 性能优化指南
- Mongodb 集群搭建以及常见错误
- Httphelper工具1
- 从struts2拦截器到自定义拦截器
- BIOS详解:什么是BIOS ?BIOS的作用?CMOS及其与BIOS的关系?
- Spring MVC---数据绑定和表单标签
- 【数据压缩】LZ78算法原理及实现
- HTTP could not register URL http://+:86/. 设置VS默认以管理员权限打开
- Elasticsearch 5.0 磁盘空间节省策略的认识