AWS Cloud9 で VFS Connection エラーでアプリケーションがうまく表示されない solved

updated: 2020/8/17

 

ブラウザのプラグインAdBlockやscript block が必要なscriptをブロックしている場合があるのでそれらを停止させる。

 

---------------------------------------------------------------------------------------------

環境:

AWS Cloud9

Laravel@6.18.35

laravel のバージョンをアップグレードしたら上記で対処できない場合が生じた。

以下で解決

app\Http\Middleware\TrustProxies.php

protected $proxies = '**';

に変更。

sudo service apache2 restart

>>> solved

 

ref:

https://teratail.com/questions/250858

https://readouble.com/laravel/6.x/ja/requests.html#configuring-trusted-proxies