点击登录
  • 欢迎访问无限星辰技术博客,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站 QQ群
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏无限星辰吧
  • 好集导航开张了,传送门:好集导航

easypanel控制面板使用80端口绑定域名的方法

Kangle知识库 crx349 7022次浏览 0个评论 扫描二维码

easypanel默认是监听3312端口,如果说想使用域名,解析80端口,如何实现呢。经过我的琢磨,我找到了解决办法。
我们修改/ext/nodephp.xml
找到以下代码
< vhs>
< vh name='_webftp' doc_root='nodewww' index='index.html,index.php' app_share='0' inherit='off' max_worker='12' htaccess='htaccess'>
< map file_ext='php' extend='cmd:nodephp' allow_method='*'/>
< port>3312< /port>
< host dir='webftp'>*< /host>
< /vh>
< /vhs>

将如下代码修改为

< vhs>
< vh name='_webftp' doc_root='nodewww' index='index.html,index.php' app_share='0' inherit='off' max_worker='12' htaccess='htaccess'>
< map file_ext='php' extend='cmd:nodephp' allow_method='*'/>
< port>80< /port>
你的域名< /host>
< /vh>
< /vhs>

重启kangle,OK。


无限星辰 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明easypanel控制面板使用80端口绑定域名的方法!
喜欢 (2)
[]
分享 (0)

您必须 登录 才能发表评论!