如何给 FastAdmin 单独设置域名

如何给 FastAdmin 单独设置域名

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

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

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


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

原文地址:https://www.cnblogs.com/F4NNIU/p/9070277.html