Nginx Setup
Deploy DrakoPaste behind Nginx with HTTPS/SSL for secure access.
Step 1: Prerequisites
Ubuntu/Debian server with root access
Domain pointing to server
DrakoPaste running on port 3000 (Optional)
Step 2: Install Nginx
sudo apt update
sudo apt install nginx
sudo systemctl enable --now nginxStep 3: SSL Certificate (Let’s Encrypt)
sudo apt install certbot python3-certbot-nginx
sudo certbot --nginx -d your-domain.comHint: Replace your-domain.com with your actual domain.
Step 4: Nginx Config
Create config:
Basic setup:
Important: Make sure to change paste.example.com and 3000 if you are using a different port
Enable:
Step 5: Firewall
Step 6: Run DrakoPaste
Step 7: Test
Visit https://your-domain.com
Create a paste
Last updated