app->environment("production")) { $this->app["request"]->server->set("HTTPS", "on"); } } }