如何给 FastAdmin 单独设置域名

如何给 FastAdmin 单独设置域名

(声明:不建议给后台固定的域名,主要是安全问题)

FastAdmin 是基于 ThinkPHP5 框架编写的,ThinkPHP 5 支持域名路由,可对模块单独配置域名。[1]

根据 ThinkPHP5 手册 只需要将 config.php 的 url_domain_deploy 打开,然后 配置域名到模块就可以,非常简单。


  1. 域名路由 https://www.kancloud.cn/manual/thinkphp5/118039 ↩︎

posted on 2018-05-22 08:22  建伟F4nniu  阅读(2168)  评论(0编辑  收藏  举报

导航