nginx 的 try_files 能不能设置到 document_root 目录以外的地方?
答案:2 悬赏:70
解决时间 2021-04-21 10:06
- 提问者网友:独菊痴梦
- 2021-04-21 03:45
nginx 的 try_files 能不能设置到 document_root 目录以外的地方?
最佳答案
- 二级知识专家网友:厭世為王
- 2021-04-21 04:38
好像不可以
不过你可以把document_root改到上层,然后 try_files a/$uri b/$uri; 这样
不过你可以把document_root改到上层,然后 try_files a/$uri b/$uri; 这样
全部回答
- 1楼网友:野心和家
- 2021-04-21 04:56
应该不能吧。
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯