配置完nginx.conf后,访问llocalshost:8080,正常。但是点击login/register 会出现404错误。网上找了一下,要在配置nginx.conf的时候,加上
location / { try_files $uri $uri/ /index.php?$query_string; }
将larvel的请求指向index.php