阅读:1624回复:0
K内核启用HTTP2的方法首先打开网站配置文件:ank\WebServer\K内核\ext\v_网站名称.xml <!--#include etc/ext_php.xml--> <config> <vhs error_400='/ErrorFiles/400.html' error_401='/ErrorFiles/401.html' error_403='/ErrorFiles/403.html' error_404='/ErrorFiles/404.html' error_500='/ErrorFiles/500.html' error_502='/ErrorFiles/502.html' error_503='/ErrorFiles/503.html' error_504='/ErrorFiles/504.html' error_510='/ErrorFiles/510.html'> <vh name='网站名称' templete='PHP7.2.X' doc_root='D:\root\网站目录' index='index.html,index.htm,index.php,default.php,app.php,u.php' log_file='/nolog' log_rotate_time='0 0 * * *' logs_day='30' logs_size='500M' inherit='on' app='1' app_share='0' browse='off' access='D:\ank\Config\Vhosts\K\网站自定义配置文件.access' htaccess='.htaccess' max_connect='0' speed_limit='0' max_worker='8' max_queue='0' > <bind>!*:80</bind> <host>www.domain.com</host> <host></host> </vh> </vhs> </config> 将app='1' app_share='0' browse='off'改成app='1' htt2='1' app_share='0' browse='off' 原文地址:https://www.suwenjie.com/article/86.html |
|