Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/laravel/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/date/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
HTTPS协议在使用laravel 5.6和nginx时不起作用_Laravel_Nginx_Https - Fatal编程技术网

HTTPS协议在使用laravel 5.6和nginx时不起作用

HTTPS协议在使用laravel 5.6和nginx时不起作用,laravel,nginx,https,Laravel,Nginx,Https,我将Laravel5.6与nginx一起用于web api目的。但是当我打电话的时候 它在浏览器中显示“安全连接失败”错误消息 Secure Connection Failed An error occurred during a connection to 127.0.0.1:8000. PR_END_OF_FILE_ERROR The page you are trying to view cannot be shown because the authenticity of t

我将Laravel5.6与nginx一起用于web api目的。但是当我打电话的时候 它在浏览器中显示“安全连接失败”错误消息

Secure Connection Failed

An error occurred during a connection to 127.0.0.1:8000. PR_END_OF_FILE_ERROR

    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the web site owners to inform them of this problem.

Learn more…

Report errors like this to help Mozilla identify and block malicious sites 

我使用了中间件和forcessl。但是运气不好。

它与localhost:8000一起工作吗?错误是800,你说8000。这是哪一个?应该是8000,因为它只是在部分复制打字错误时。现在我编辑到8000。这个问题只发生在生产上。这里我刚刚更改了IP。有什么想法或解决方案吗?它是否适用于localhost:8000?错误是800,您是8000。这是哪一个?应该是8000,因为它只是在部分复制打字错误时。现在我编辑到8000。这个问题只发生在生产上。这里我刚换了IP。有什么想法或解决方案吗?