laravel 5.6与Nginx一起使用时HTTPS协议无法正常工作

时间:2019-11-13 08:06:26

标签: laravel nginx https

我将laravel 5.6和Nginx一起用于Web API。但是当我打电话给https://127.0.0.1:8000/api/user时 它在浏览器中显示“安全连接失败”错误消息。

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。但没有运气。

0 个答案:

没有答案