laravel valet-linux重定向错误

时间:2018-08-11 18:08:08

标签: nginx laravel-valet

我正在为我的本地开发环境运行非常有用的valet-linux软件包。我最近(使用composer global update更新了它,现在我的本地Joomla开发站点无法正确加载。

~/.valet/Log/nginx-error.log中的错误显示多次出现

2018/08/11 11:00:28 [error] 7825#7825: *11 rewrite or internal redirection cycle while processing "/home/admin/.config/composer/vendor/cpriego/valet-linux/server.php", client: 127.0.0.1, server: , request: "GET /media/plg_quickicon_extensionupdate/js/extensionupdatecheck.js?95ac38c67651723d445944ba719bf971 HTTP/1.1", upstream: "fastcgi://unix:/home/admin/.valet/valet.sock", host: "joomla310.test", referrer: "http://joomla310.test/administrator/index.php"
2018/08/11 11:00:28 [error] 7825#7825: *38 rewrite or internal redirection cycle while processing "/home/admin/.config/composer/vendor/cpriego/valet-linux/server.php", client: 127.0.0.1, server: , request: "GET /media/jui/js/bootstrap.min.js?95ac38c67651723d445944ba719bf971 HTTP/1.1", upstream: "fastcgi://unix:/home/admin/.valet/valet.sock", host: "joomla310.test", referrer: "http://joomla310.test/administrator/index.php"
2018/08/11 11:00:28 [error] 7825#7825: *40 rewrite or internal redirection cycle while processing "/home/admin/.config/composer/vendor/cpriego/valet-linux/server.php", client: 127.0.0.1, server: , request: "GET /media/mod_sampledata/js/sampledata-process.js HTTP/1.1", upstream: "fastcgi://unix:/home/admin/.valet/valet.sock", host: "joomla310.test", referrer: "http://joomla310.test/administrator/index.php"
2018/08/11 11:00:28 [error] 7825#7825: *42 rewrite or internal redirection cycle while processing "/home/admin/.config/composer/vendor/cpriego/valet-linux/server.php", client: 127.0.0.1, server: , request: "GET /media/system/js/core.js?95ac38c67651723d445944ba719bf971 HTTP/1.1", upstream: "fastcgi://unix:/home/admin/.valet/valet.sock", host: "joomla310.test", referrer: "http://joomla310.test/administrator/index.php"
2018/08/11 11:00:28 [error] 7825#7825: *44 rewrite or internal redirection cycle while processing "/home/admin/.config/composer/vendor/cpriego/valet-linux/server.php", client: 127.0.0.1, server: , request: "GET /administrator/templates/isis/js/template.js?95ac38c67651723d445944ba719bf971 HTTP/1.1", upstream: "fastcgi://unix:/home/admin/.valet/valet.sock", host: "joomla310.test", referrer: "http://joomla310.test/administrator/index.php"
2018/08/11 11:00:28 [error] 7825#7825: *62 rewrite or internal redirection cycle while processing "/home/admin/.config/composer/vendor/cpriego/valet-linux/server.php", client: 127.0.0.1, server: , request: "GET /administrator/templates/isis/images/logo.png HTTP/1.1", upstream: "fastcgi://unix:/home/admin/.valet/valet.sock", host: "joomla310.test", referrer: "http://joomla310.test/administrator/index.php"

我对Apache有相当的经验,但是我不知道从哪里开始调试nginx错误。有人碰到这个吗?

1 个答案:

答案 0 :(得分:0)

卸载并重新安装valet-linux解决了该问题。仍然不确定发生了什么。