production setting

This commit is contained in:
Andrea Rocco Lotronto 2015-07-06 12:36:35 +02:00
parent 7d7c81e84d
commit 87cc593302
1 changed files with 28 additions and 10 deletions

View File

@ -22,25 +22,43 @@
]
}
]
},
{
"name": "s4-tel",
"roles": [
{
"name": "anonymous",
"permissions": [
{
"uri": "*",
"publish": true,
"subscribe": true,
"call": true,
"register": true
}
]
}
]
}
],
"transports": [
{
"type": "web",
"type": "websocket",
"endpoint": {
"type": "tcp",
"port": 8181
},
"paths": {
"/": {
"type": "static",
"directory": ".."
},
"ws": {
"type": "websocket"
}
}
"options":{
"enable_webstatus":false,
"fail_by_drop": true,
"open_handshake_timeout": 2500,
"close_handshake_timeout": 1000,
"auto_ping_interval": 10000,
"auto_ping_timeout": 5000,
"auto_ping_size": 4
}
}
]
}
]