You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
Copy file name to clipboardexpand all lines: web/README.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Admin web interface
2
2
3
3
Admin web interface located in its [own repo](https://github.com/centrifugal/web). This
4
-
is ReactJS based single-page application. But Centrifugo server comes with this interface builtin.
4
+
is ReactJS based single-page application. But Centrifugo server comes with this interface builtin - so in most cases you don't need to download it separately.
5
5
6
6
[See demo on Heroku](https://centrifugo.herokuapp.com) (password `demo`) to see it in action.
7
7
@@ -44,6 +44,8 @@ Also you must additionally set 2 options in config: `admin_password` and `admin_
44
44
45
45
Make both strong and keep in secret.
46
46
47
+
After setting this in config go to http://localhost:8000 (by default) - and you should see web interface. Although there is `password` based authentication a good advice is to protect web interface by firewall rules in production. Also as web interface uses `/socket` Centrifugo websocket endpoint - you better protect that endpoint by firewall too.
48
+
47
49
If you don't want to use embedded web interface you can specify path to your own web interface directory:
0 commit comments