nginx: [emerg] directive "location" has no opening "{"

1.报错:[emerg]directive "location" has no opening "{" in .....

解决方法:

由于对应行或者附近行的“{”前面缺少空格,导致该错误!

你可能感兴趣的:(nginx: [emerg] directive "location" has no opening "{")