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: cmd/mc-router/main.go
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,7 @@ type Config struct {
54
54
UseProxyProtocolbool`default:"false" usage:"Send PROXY protocol to backend servers"`
55
55
ReceiveProxyProtocolbool`default:"false" usage:"Receive PROXY protocol from backend servers, by default trusts every proxy header that it receives, combine with -trusted-proxies to specify a list of trusted proxies"`
56
56
TrustedProxies []string`usage:"Comma delimited list of CIDR notation IP blocks to trust when receiving PROXY protocol"`
57
+
RecordLoginsbool`default:"false" usage:"Log and generate metrics on player logins. Metrics only supported with influxdb or prometheus backend"`
57
58
MetricsBackendConfigMetricsBackendConfig
58
59
RoutesConfigstring`usage:"Name or full path to routes config file"`
59
60
NgrokTokenstring`usage:"If set, an ngrok tunnel will be established. It is HIGHLY recommended to pass as an environment variable."`
0 commit comments