Nginx Configuration

Want to use a domain on your dashboard? Here's the guide :)

Video example of the below guide

Prerequisites

sudo mkdir -p /var/www
cd /var/www
git clone https://github.com/YouSeeMeRunning2/DrakoBot.git # You won't be able to use my repository
sudo mv /var/www/DrakoBot /var/www/drakobot # Ensure the folder is named drakobot

1. Create A Records

Create the following DNS A records:

  • Host: dashboard

  • Value: <Server IP>


2. Install NVM and Node.js 18.20.7


3. Install Nginx


4. Create Nginx Configuration

Edit the Nginx configuration file:

Add the following configuration:


5. Enable the Site and Restart Nginx


6. Install SSL Certificate


7. Edit the Bot Configuration

Run the following commands

Update the bot settings with the following values:

  • URL: https://dashboard.youseemerunning.com

  • Redirect: https://dashboard.youseemerunning.com/api/auth/callback


8. Run the Dashboard


Your Drako Bot dashboard should now be up and running!

Last updated