2019/07/21 08:20:07 [emerg] 2269#0: unknown directive "server_name " in /usr/local/nginx/conf/nginx.conf:119
2019/07/21 08:25:18 [emerg] 2272#0: unknown directive " " in /usr/local/nginx/conf/nginx.conf:121
2019/07/21 08:28:42 [emerg] 2274#0: unknown directive " #" in /usr/local/nginx/conf/nginx.conf:121
2019/07/21 08:30:04 [emerg] 2277#0: unknown directive " server_name" in /usr/local/nginx/conf/nginx.conf:129
2019/07/21 15:07:20 [notice] 2238#0: signal process started
2019/07/21 16:12:39 [warn] 2288#0: server name "http://192.168.0.102" has suspicious symbols in /usr/local/nginx/conf/nginx.conf:38
[emerg] [emerg] # 0 2269: Unknown Unknown command Directive
- Modify usr / local / nginx save time / config / nginx.config original UTF-8 format can not be UTF-8 -BOM / ANSI format to the original agreement and
- Structure
- http{
server{
}
}
. 4 [emerg] # 0 2269: Unknown Unknown command Directive
Generally appeared more space and "" the things inside
5 [warn] 2288#0: server name "http://192.168.0.102" has suspicious symbols in
Server name "http://192.168.0.102" There are suspicious sign , server name y is generally domain ww.baidu.con
But also not to http 192.168.0.102 is IP: //