I'm creating a management screen with larave-admin, but it's not ssl compatible.
Although you can access with https, css does not work and the style is not applied.
Also, since it can be accessed by http, I want to make it accessible only by https.
I checked the laravel-admin document and couldn't find it.
I would like to know how to deal with it.
Thank you in advance.


  • Laravel5
  • laravel-admin
Problems i am experiencing
  • Style collapses when accessed via https
  • You can access with http
Supplemental information (FW/tool version etc.)

Document of laravel-admin.

  • Answer # 1

    Laravel, this time with routes,

    \ URL :: forceScheme ('https');

    If you think that it is something, look at the source ...

    In config/admin.php


         | ------------------------------------------------- -------------------------
         | Access viahttps
         | ------------------------------------------------- -------------------------
         | If your page is going to be accessed via https, set it totrue.

    The item

    is ...

    What happens if this is true?

  • Answer # 2

    Css link is http?
    If the access source is https and the access to the resource used in https is a warning, you may get a warning, or it may not work.

    Redirect is generally applied when http access is disabled.
    If you check this with "Laravel http https redirect", some articles will appear, so please try it.