summaryrefslogtreecommitdiffstats
path: root/net/nanomq/patches/100-conf.patch
blob: 4847df4779638fda48882dbb116c322ca222fb85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
--- a/etc/nanomq.conf
+++ b/etc/nanomq.conf
@@ -21,39 +21,13 @@ listeners.tcp {
     bind = "0.0.0.0:1883"
 }
 
-# listeners.ssl {
-# 	bind = "0.0.0.0:8883"
-# 	keyfile = "/etc/certs/key.pem"
-# 	certfile = "/etc/certs/cert.pem"
-# 	cacertfile = "/etc/certs/cacert.pem"
-# 	verify_peer = false
-# 	fail_if_no_peer_cert = false
-# }
-
 listeners.ws {
     bind = "0.0.0.0:8083/mqtt"
 }
 
-http_server {
-    port = 8081
-    limit_conn = 2
-    username = admin
-    password = public
-    auth_type = basic
-    jwt {
-        public.keyfile = "/etc/certs/jwt/jwtRS256.key.pub"
-    }
-}
-
 log {
-    to = [file, console]
+    to = [console]
     level = warn
-    dir = "/tmp"
-    file = "nanomq.log"
-    rotation {
-        size = 10MB
-        count = 5
-    }
 }
 
 auth {