E
E
Eugene2020-05-08 10:55:29
Laravel
Eugene, 2020-05-08 10:55:29

Laravel 7 behind NGINX with SSL can't load assets?

I'm trying to learn what Laravel is

Given:
- laravel 7 on apache
- ngix as a proxy

in the config is written:
'url' => env('APP_URL', 'https://bookeen.ru'),

in .env
APP_URL=https://bookeen.ru

In TrustProxies
protected $proxies = '*';
Until I registered a proxy in the trust, there was Mixed content from http to assets. Now they have https but 404. Is there any correct solution?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question