nginx 配置多个目录
来源:互联网 发布:一天1000单词 知乎 编辑:程序博客网 时间:2024/05/19 13:14
<pre name="code" class="python"> server { listen 8001; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location / { root /t/deploy/zjdev/deployedApps/zjzc-web-frontEnd/; index index.html index.htm; } location /backoffice { root /t/deploy/zjdev/deployedApps/zjzc-web-backoffice/; index index.html index.htm; } #error_page 404 /404.html; # redirect server error pages to the static page /50x.html # error_page 500 502 503 504 /50x.html; location = /50x.html { root html; } }}~ root:则是指定目录某个目录的父目录,如:locate /hello/ {root /a/;}那么在/a/目录下必须有一个hello目录,否则报错.
0 0
- nginx 配置多个目录
- nginx.conf的配置多个目录
- nginx 配置多目录
- Nginx配置多个证书
- nginx 多个站点配置
- nginx 配置多个主机
- nginx配置多个tomcat
- nginx配置多个站点
- apache配置 多个目录
- nginx配置多台tomcat目录
- Nginx 配置目录访问
- Nginx(10) nginx 配置多个server,多个端口
- Nginx一个IP配置多个主机
- nginx如何添加多个虚拟主机配置
- Nginx+Tomcat配置多个二级域名
- nginx配置多个虚拟ip访问
- Nginx 配置 多个VSFTP的loadbalance
- nginx中配置多个虚拟主机实例
- return false 无效
- ios 旋转
- 深入理解AX Inventory Aging Report
- POJ 3253 Fence Repair 哈夫曼树
- java语言基础之面向对象1
- nginx 配置多个目录
- C# winform 拖拽效果
- request.getAttribute()与request.getParameter()的区别
- HDU 1022 Train Problem I(用栈模拟火车出入,看能否由初始顺序到达目标顺序)
- iOS9适配
- duilib各种布局的作用,相对布局与绝对布局的的意义与用法
- request.getParameter() request.getAttribute()区别
- openwrt: Makefile 框架分析
- DataGridView设置列标题