ELB works for http but not for https I get Mixed Content: The page at 'https://ov3rt.com/' errors
-
ELB works for http but not for https I get Mixed Content: The page at 'https://ov3rt.com/' errors!
-
APP_NAME=ov3rt
APP_ENV=local
APP_VERSION=1.1.0
APP_KEY=base64:oAdbdj8w4StZsKWLDLiUsmdXChXnH2S/IdpO5Ljuro8=
APP_DEBUG=false
APP_URL=https://ov3rt.com
APP_TIMEZONE=America/Los_Angeles
APP_LOCALE=en
LOG_CHANNEL=stack
APP_CURRENCY=USD -
Hi @mikeyapina
follow this link https://forums.bagisto.com/topic/1422/missing-admin-submenus/7Thanks
-
@Vaishali-Agarwal thanks this worked.
Step 1 - In boot() method of AppServiceProvider (app/Providers/AppServiceProvider.php), use this
$this->app['request']->server->set('HTTPS', true);
-
@Vaishali-Agarwal Thank you. It worked for me also.
-
OK, so I had this issue previously and resolved it, but now its back, and I don't know what to do.. It is due to a mix of HTTP and https I tried to redirect everything to https with he below script change, but it isn't working .. what's wrong?
<?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Schema;class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Schema::defaultStringLength(191);$this->app['request']->server->set('HTTPS', true); } /** * Register any application services. * * @return void */ public function register() { }
}
~
~
~
~
~
~
~
~
~
"AppServiceProvider.php" 31L, 523C -
Hi @mikeyapina,
Which version of Bagisto are you using?