Laravel-admin: https挂掉

Created on 25 Aug 2018  ·  3Comments  ·  Source: z-song/laravel-admin

Description:

站点上了证书前端没有问题,在访问 https;//localhost/admin 时有的js和css都挂掉了,而且链接http不带s

Steps To Reproduce:

站点上了证书前端没有问题,在访问 https;//localhost/admin 时有的js和css都挂掉了,而且链接http不带s,但是能访问

_20180825180640
_20180825180648

Most helpful comment

config/admin.php 里面的'secure' => true,
config/app.php 里面的 'url' => env('APP_URL', 'https:// 这里加s
.env 里面的 APP_URL=https://127.0.0.1这里加s

All 3 comments

config/admin.php 里面的'secure' => true,
config/app.php 里面的 'url' => env('APP_URL', 'https:// 这里加s
.env 里面的 APP_URL=https://127.0.0.1这里加s

@ysfl 嗯谢谢,但是我改完之后登陆成功默认跳的还是普通的链接

啊, 我nginx80强转443了

Was this page helpful?
0 / 5 - 0 ratings

Related issues

antranapp picture antranapp  ·  3Comments

fokoz picture fokoz  ·  3Comments

MarKco picture MarKco  ·  3Comments

clock1129 picture clock1129  ·  3Comments

piian picture piian  ·  3Comments