💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
## 登录进入宝塔后台 ![](https://box.kancloud.cn/7cdc2965be60dc23cc02d2e43832aa96_1845x361.png) 点击左边配置文件,把如下代码拷贝到里面 ![](https://box.kancloud.cn/925a84dd3ca461892a90c9281f12745d_1182x792.png) ![](https://box.kancloud.cn/dcdfb9dc29b258e7401686a354d14401_1275x572.png) location ~ /xhydsh/ { if (!-d $request_filename){ set $rule_0 1$rule_0; } if ($rule_0 = "1"){ rewrite ^/addons/xhy_social/core/xhydsh/(.*)/$ /$1 permanent; } if (!-d $request_filename){ set $rule_1 1$rule_1; } if (!-f $request_filename){ set $rule_1 2$rule_1; } if ($rule_1 = "21"){ rewrite ^/addons/xhy_social/core/xhydsh/ /addons/xhy_social/core/xhydsh/index.php last; } }