Skip to content

Example config.yaml

monnand edited this page Oct 10, 2013 · 5 revisions
http-addr: 127.0.0.1:8088
handshake-timeout: 10s
auth:
  default: disallow
  url: http://localhost:8080/auth
  timeout: 3s
err: 
  url: http://localhost:8080/err
  timeout: 3s
default:
  msg:
    url: http://localhost:8080/msg
    timeout: 3s
  err: 
    url: http://localhost:8080/err
    timeout: 3s
  logout: 
    url: http://localhost:8080/logout
    timeout: 3s
  fwd: 
    default: allow
    url: http://localhost:8080/fwd
    timeout: 3s
    max-ttl: 36h
  subscribe:
    default: allow
    url: http://localhost:8080/subscribe
    timeout: 3s
  unsubscribe:
    default: allow
    url: http://localhost:8080/unsubscribe
    timeout: 3s
  uniqush-push:
    addr: localhost:9898
    timeout: 3s
  max_conns: 2048
  max_online_users: 2048
  max_conns_per_user: 10
  db:
    engine: redis
    host: 127.0.0.1
    port: 6379
    database: 1
    password:
service:
Clone this wiki locally