dragonfly 在站点下 ./config 目录新建一个文件 ./config/define.php ,指定https访问地址(改了之后只能用这个地址访问) <?php define('APP_HOST', 'https://[域名]');