将ejabberd的mod_proxy65配置为从部分虚拟主机无效

时间:2015-11-19 07:43:42

标签: ejabberd

我正在使用jeabberd 15.10来配置mod_proxy65(部分信息):

hosts: 
  - "test.server1"
  - "test.server2"
  - "pre.hooca.com.cn"    
shaper:
  normal: 1000
  fast: 50000    
access:
  proxy_shaper:
    admin: none
    all: fast    
auth_method: internal
odbc_pool_size: 20
odbc_keepalive_interval: 30

modules:
  ........
  mod_proxy65:
    name: "SOCKS5 Bytestreams"
    ip: "192.168.5.107"
    port: 7777
    access: all
    shaper: proxy_shaper                        
host_config:
  "pre.hooca.com.cn":
    auth_method: odbc
    odbc_type: mysql
    ...        
    modules:
     ....
      mod_proxy65:
        name: "SOCKS5 Bytestreams"
        ip: "192.168.5.107"
        port: 7777
        access: all
        shaper: proxy_shaper

我发现:VM(test.server1和test.server2)似乎使用整形器(快速:50000),VM(pre.hooca.com.cn)似乎使用整形器(快速:1000) ,我不知道有什么共鸣,谁能帮助我,谢谢!

1 个答案:

答案 0 :(得分:0)

现在我已经解决了。将所有数据从公共模块复制到host_config / module并修改host_config / module上的diff数据。