NGNIX url rewriting doesn't use root statement

后端 未结 0 1452
既然无缘
既然无缘 2020-11-22 16:26

in the site configuration I have this simple statement:

  location /test/mysite/ { 
      root /folder/; 
      rewrite ^/test/mysite/(.*)$ /$1 last; 
  } 


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题