Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

宝塔安装图床,生成连接还是http #368

Closed
GloamingCN opened this issue Mar 31, 2022 · 4 comments
Closed

宝塔安装图床,生成连接还是http #368

GloamingCN opened this issue Mar 31, 2022 · 4 comments

Comments

@GloamingCN
Copy link

宝塔安装的图床,域名已经是https了,但是生成的url还是http的,我按照https://laravel.com/docs/9.x/requests#configuring-trusted-proxies这个方法,修改了文件,但是没有什么作用

@zheyiyuezhuo
Copy link

我也差不多,可能反向代理没配置好

@wisp-x
Copy link
Collaborator

wisp-x commented Mar 31, 2022

编辑 .env 文件,将里面的 url 改成 https 的试一下

@hellodk34
Copy link

@GloamingCN @zheyiyuezhuo 编辑一下存储策略,查看一下这里的 访问网址 链接是否是 https 的

编辑一下存储策略.png

@GloamingCN
Copy link
Author

@GloamingCN @zheyiyuezhuo 编辑一下存储策略,查看一下这里的 访问网址 链接是否是 https 的

编辑一下存储策略.png

实际测试可行,感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants