nginx添加rewrite时报错

 directive "rewrite" is not terminated by ";" in 。。。

解决办法:

路径加上引号

 

 
  
  1. rewrite "^/(w+)/(w+)(/){0,1}$"