![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
nginx
杰仔仔哦
这个作者很懒,什么都没留下…
展开
-
nginx在centos中的安装方法(tar.gz格式)
从nginx的官方网站下载稳定版本,这里下载的版本号是nginx-1.0.2。在默认情况下,经过编译安装的Nginx包含了大部分可用模块,可以通过“./configure --help”选项设置各个模块的使用情况,例如对不需要的http_ssi模块,可通过“--without-http_ssi_module”参数关闭此模块;如果需要“http_perl”模块,则可以通过“--with-http_...原创 2016-05-16 16:38:43 · 286 阅读 · 0 评论 -
nginx中配置location的root(alias)访问同一个地址文件
我要访问http://yuming.com/B/c.html 按照正常的location配置应该是这样的: location / { root /data/html; index index.html index.htm; } 以上配置说明我需要在/data/html/B/目录下访问c.html 但是...原创 2017-07-11 15:15:09 · 832 阅读 · 0 评论