Set DISCORD_CLIENT_SECRET, SESSION_SECRET and PUBLIC_URL in the server's .env, then restart.
DISCORD_CLIENT_SECRET
SESSION_SECRET
PUBLIC_URL
.env