This repository was archived by the owner on Jan 19, 2019. It is now read-only.
File tree 1 file changed +20
-7
lines changed
1 file changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -53,13 +53,26 @@ To start Centrifugo in this mode use `--insecure_api` flag:
53
53
centrifugo --config=config.json --insecure_api
54
54
```
55
55
56
- # Insecure web mode (new in v1.3.0)
56
+ # Insecure admin mode (new in v1.3.0, changed in v1.6 .0)
57
57
58
- Allows run Centrifugo in insecure web mode - in this case you don't need to set ` web_password `
59
- and ` web_secret ` for admin web interface in config - you will be logged in automatically
60
- without any password. Note that this is only for development or if you protected web interface
61
- with firewall rules in production. To start Centrifugo with web interface in insecure mode run:
58
+ Allows run Centrifugo in insecure admin mode - in this case you don't need to set ` admin_password ` and ` admin_secret `
59
+ for admin endpoints in config - all admin endpoints access won't require authentication at all.
60
+
61
+ Note that this is ** only for development or if you protected web interface with firewall rules in production** .
62
+
63
+ To start Centrifugo in this insecure mode run:
64
+
65
+ ``` bash
66
+ centrifugo --config=config.json --insecure_admin
67
+ ```
68
+
69
+ If this mode enabled and you are using web interface ** you will be logged in automatically without any password** . This
70
+ can be useful if you want to hide Centrifugo web interface behind you own company authentication proxy and don't want to
71
+ have extra password for Centrifugo:
62
72
63
73
``` bash
64
- centrifugo --config=config.json --web --insecure_web
65
- ```
74
+ centrifugo --config=config.json --insecure_admin --web
75
+ ```
76
+
77
+ Again: every insecure mode described here potentially dangerous and you must understand how to protect your Centrifugo
78
+ by firewall rules this before turning on insecure modes in production.
You can’t perform that action at this time.
0 commit comments