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
Copy file name to clipboardExpand all lines: README.md
+21-1Lines changed: 21 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -53,4 +53,24 @@ Then execute `npm run dashboard` and visit http://localhost:4040 and you will be
53
53
54
54
## Other options
55
55
56
-
You can also set `appNameForURL` for each app to control the url of your app within the dashboard.
56
+
You can set `appNameForURL` for each app to control the url of your app within the dashboard.
57
+
58
+
If you want to require a username and password to access the dashboard, you can do so by adding usernames and passwords for HTTP Basic Auth to your configuration file:
59
+
60
+
```
61
+
{
62
+
"apps": [...],
63
+
"users": [
64
+
{
65
+
"user":"user1",
66
+
"pass":"pass"
67
+
},
68
+
{
69
+
"user":"user2",
70
+
"pass":"pass"
71
+
}
72
+
]
73
+
}
74
+
```
75
+
76
+
HTTPS and Basic Auth are mandatory if you are deploying the dashboard to the internet instead of accessing it from `localhost`.
0 commit comments