Access
- Open the Dradis URL:
https://<SERVER-IP> - Accept the self-signed certificate warning.
- Configure the shared server password.
- Create your user account.
- Sign in and begin creating projects.
Important Files & Directories
- Install Path:
/root/dradis - Compose File:
/root/dradis/docker-compose.yml - Nginx Config:
/etc/nginx/sites-available/dradis - SSL Certificate:
/etc/nginx/ssl/dradis.crt - SSL Private Key:
/etc/nginx/ssl/dradis.key - Docker Volume:
/var/lib/docker/volumes/dradis-ce_storage
Docker Management
Check containers:
docker ps
View logs:
docker logs -f dradis
Restart services:
cd /root/dradis
docker compose restart
Stop services:
cd /root/dradis
docker compose down
Start services:
cd /root/dradis
docker compose up -d
Nginx Management
Validate configuration:
nginx -t
Reload Nginx:
systemctl reload nginx
Restart Nginx:
systemctl restart nginx
Enabling SSL with a Domain
1. Point your domain to the server IP.
2. Edit Nginx config and replace server_name _; with your domain (server_name <your-domain>) for both HTTP (port 80) and HTTPS (port 443) blocks:
vim /etc/nginx/sites-available/dradis
3. Install Certbot:
apt install -y certbot python3-certbot-nginx
4. Run the following command to generate a valid Let's Encrypt certificate:
certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com
5. Replace SSL paths in Nginx config :
vim /etc/nginx/sites-available/dradis
# Before:
# ssl_certificate /etc/nginx/ssl/dradis.crt;
# ssl_certificate_key /etc/nginx/ssl/dradis.key;
# After:
# ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
# ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;
6. Reload Nginx to apply the changes:
systemctl reload nginx
7. Open your browser and visit: https://yourdomain.com