AegisPaste
Self-hosted paste service setup (local dev first, then Nginx).
Prerequisites
Node.js v18+
MongoDB (see MongoDB Setup)
Git (optional)
1
Create .env
.envIn the project folder, create a new file called .env and add:
MONGODB_URI="mongodb://localhost:27017/Aegispaste"
NEXTAUTH_SECRET="change-me"
NEXTAUTH_URL="http://localhost:3000"
SYSTEM_SETUP_KEY="change-me"
SECURE="false"
PORT="3000"Important: Make sure to use your own MongoDB connection string.
Before production, set strong values for NEXTAUTH_SECRET and SYSTEM_SETUP_KEY, set NEXTAUTH_URL to your public URL, and enable SECURE where applicable.
Admin panel
Open: http://localhost:3000/admin
Login credentials:
User:
adminPass:
admin
Next: Nginx Setup
Change this password immediately in the admin panel.
Last updated
