nginx: [emerg] unknown directive "if($request_uri" in
Nginx About 125 words错误
nginx: [emerg] unknown directive "if($request_uri" in
解决
if
与($
间需要有空格。
例如:
if ($request_uri ~ '/admin') {
return 404;
}
Views: 8,314 · Posted: 2019-09-29
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb/LiteNote扫描下方二维码关注公众号和小程序↓↓↓
Loading...