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