Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 

65 Zeilen
1.7 KiB

  1. {
  2. "Kestrel": {
  3. "EndPoints": {
  4. "Http": {
  5. "Url": "http://*:80"
  6. },
  7. "Https": {
  8. "Url": "http://*:443"
  9. }
  10. }
  11. },
  12. "MQTT": {
  13. /*
  14. Wildcard Addresses:
  15. * - All local IP addresses
  16. localhost - Localhost only
  17. disable - Skip address assignment
  18. */
  19. "TcpEndPoint": {
  20. "Enabled": true,
  21. "IPv4": "*",
  22. "IPv6": "*",
  23. "Port": 1883
  24. },
  25. "EncryptedTcpEndPoint": {
  26. "Enabled": false,
  27. "IPv4": "*",
  28. "IPv6": "*",
  29. "Port": 8883,
  30. "Certificate": {
  31. "Path": "/absolute/path/to/pfx",
  32. "Password": ""
  33. }
  34. },
  35. "WebSocketEndPoint": {
  36. "Enabled": true,
  37. "Path": "/mqtt",
  38. "KeepAliveInterval": 120, // In seconds.
  39. "ReceiveBufferSize": 4096,
  40. "AllowedOrigins": [] // List of strings with URLs.
  41. },
  42. "CommunicationTimeout": 15, // In seconds.
  43. "ConnectionBacklog": 10, // Set 0 to disable
  44. "EnablePersistentSessions": true,
  45. "MaxPendingMessagesPerClient": 250,
  46. "RetainedApplicationMessages": {
  47. "Persist": true,
  48. "Path": "RetainedApplicationMessages.json",
  49. "WriteInterval": 10 // In seconds.
  50. },
  51. "EnableDebugLogging": false
  52. },
  53. "Scripting": {
  54. "ScriptsPath": "Scripts",
  55. "IncludePaths": []
  56. },
  57. "Logging": {
  58. "LogLevel": {
  59. "Default": "Debug",
  60. "System": "Information",
  61. "Microsoft": "Information"
  62. }
  63. },
  64. "AllowedHosts": "*"
  65. }