1. 忘记面板登陆密码
1 2 3 |
<pre class="inline:true decode:1 " >sudo su - #切换到root v-change-user-password admin admin@1234 # 修改admin的密码为admin@1234 注意必须是之前已经存在的用户才可以改密码 |
2. Nginx模版地址
参考:https://forum.hestiacp.com/t/reverse-proxy-and-port-redirection/859/2
一般的话,可以在 /usr/local/hestia/data/templates/web/nginx/中创建一个新模板。
你会看到 default.stpl和 default.stpl
1 2 |
<pre class="inline:true decode:1 " >cp default.tpl new_name.tpl cp default.stpl new_name.stpl |
然后可以修改新的 tpl和 stpl文件
如果你是安装的 NGiNX + PHP-FPM,但没有安装 Apache2,那就直接修改位于 php-fpm 文件夹中的:
/usr/local/hestia/data/templates/web/nginx/php-fpm
假设我们修改了文件为 halo.tpl和 halo.stpl
创建网站的时候,打开这个 高级选项
就可以选择了:
3. 配合XUI面板食用
【HestiaCP面板系列】HestiaCP + VLESS + WS +TLS 搭配XUI面板食用教程:https://blog.laoda.de/archives/hcp-xui
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END