|
- {
- "Kestrel": {
- "EndPoints": {
- "Http": {
- "Url": "http://localhost:80"
- },
- "Https": {
- "Url": "http://localhost:443"
- }
- }
- },
- "MQTT": {
- /*
- Wildcard Addresses:
- * - All local IP addresses
- localhost - Localhost only
- disable - Skip address assignment
- */
- "TcpEndPoint": {
- "Enabled": true,
- "IPv4": "*",
- "IPv6": "*",
- "Port": 1883
- },
- "EncryptedTcpEndPoint": {
- "Enabled": false,
- "IPv4": "*",
- "IPv6": "*",
- "Port": 8883,
- "CertificatePath": "/absolute/path/to/pfx"
- },
- "WebSocketEndPoint": {
- "Enabled": true,
- "Path": "/mqtt",
- "KeepAliveInterval": 120, // In seconds.
- "ReceiveBufferSize": 4096,
- "AllowedOrigins": [] // List of strings with URLs.
- },
- "CommunicationTimeout": 15, // In seconds.
- "ConnectionBacklog": 10, // Set 0 to disable
- "EnablePersistentSessions": true,
- "MaxPendingMessagesPerClient": 250,
- "RetainedApplicationMessages": {
- "Persist": true,
- "Path": "RetainedApplicationMessages.json",
- "WriteInterval": 10 // In seconds.
- },
- "EnableDebugLogging": false
- },
- "Scripting": {
- "ScriptsPath": "Scripts",
- "IncludePaths": [
- "Lib",
- "/usr/lib/python2.7",
- "C:\\Python27\\Lib"
- ]
- },
- "Logging": {
- "LogLevel": {
- "Default": "Debug",
- "System": "Information",
- "Microsoft": "Information"
- }
- },
- "AllowedHosts": "*"
- }
|