482 B
482 B
Backend
Generate random secret using openssl. This secret will be used to authenticate users on all /admin routes.
If no secret is given then no authentication will be required
nuchat --admin-secret $(openssl rand --base64 32)
Features
shutdown
this feature enables an endpoint that allows you to shutdown the server.
WARNING: If the admin-secret flag is not set then this endpoint is completely exposed and allows anyone to shutdown the server.