update tls/non-tls example configs
This commit is contained in:
parent
4307fac38c
commit
0a62caf503
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
config-no-tls.json
|
||||
config-with-tls.json
|
Loading…
Reference in New Issue
Block a user