update tls/non-tls example configs

This commit is contained in:
meejah 2016-06-14 17:40:26 -06:00
parent 4307fac38c
commit 0a62caf503
2 changed files with 18 additions and 9 deletions

View File

@ -1,4 +1,5 @@
{
"version": 2,
"workers": [
{
"type": "router",
@ -10,11 +11,19 @@
"name": "anonymous",
"permissions": [
{
"uri": "*",
"publish": true,
"subscribe": true,
"uri": "",
"match": "prefix",
"allow": {
"call": true,
"register": true
"register": true,
"publish": true,
"subscribe": true
},
"disclose": {
"caller": false,
"publisher": false
},
"cache": true
}
]
}
@ -63,11 +72,11 @@
"type": "websocket",
"endpoint": {
"type": "tcp",
"interface": "127.0.0.1",
"interface": "localhost",
"port": 8083,
"tls": {
"key": "../../twisted/wamp/pubsub/tls/server.key",
"certificate": "../../twisted/wamp/pubsub/tls/server.crt"
"key": "server.key",
"certificate": "server.crt"
}
}
}

View File

@ -1 +1 @@
config-no-tls.json
config-with-tls.json