Closed ztj1993 closed 3 years ago
you could try using
\URL::forceScheme('https');
@iBet7o https://laravel.com/docs/7.x/requests#configuring-trusted-proxies
thank you! This should be the most effective method. I have already practiced it.
Actual Behaviour
ngxin proxy apache, Domain name: https://test.com ,
model () - > paginate (10);
the generated domain name is wrong, there is no HTTPS.I found some solutions, but most of them couldn't solve the problem.
Expected Behaviour
Expected generation:
Steps to Reproduce
nginx proxy apache nginx setting https
The above is from software translation.