本文介绍了Laravel已安装,但连接已重置/未接收到数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将Digital Ocean用作服务器,我的站点上有运行Laravel的Ubuntu精简版.但是现在我正在制作一个项目后端",其中只有一个包含所有测试项目的文件夹,这些项目都是laravel项目本身.它们未链接到主要的laravel安装.

I am using Digital Ocean as my server, I have a Ubuntu droplet running laravel fine on my site. But now I am making a 'projects backend' where there is just a folder with test projects that are all laravel projects themselves. They are not linked to the main laravel install.

我安装了它,如果转到www.mysite.com/projects/projectname,所有文件都在那里:

I installed it, all the files are there if I go to www.mysite.com/projects/projectname it shows:

但是当我转到链接www.mysite,com/projects/projectname/public时,它显示:

But when I go to the link www.mysite,com/projects/projectname/public it shows:

在Firefox中

镀铬

该网站在使用便携式计算机的笔记本电脑上运行良好.但是不在服务器上吗?

The site is working fine on my laptop using mamp. But not on the server?

如果我查看Charles(代理管理器),则会收到错误/失败Remote server closed the connection before sending response header

If I look in charles (the proxy manager) I get the error / failure Remote server closed the connection before sending response header

我对此并不熟悉,请有人可以解释如何克服这个问题吗?

I am not familiar with this, please can someone explain how to overcome this problem?

推荐答案

关闭XCache为我解决了该问题.

Turning off XCache solved it for me.

这篇关于Laravel已安装,但连接已重置/未接收到数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-01 20:30