Best Practices for Securing Servers on Coolify (SSL/TLS, Firewall, User Roles)
With the growing adoption of Coolify as an open-source platform for deploying and managing applications, server security has become a critical necessity. Any vulnerability in your server can open the door to attacks like Brute Force, Port Scanning, HTTP probing, or CVE exploits.
In this blog, we’ll cover the best practices for securing servers on Coolify, focusing on:
SSL/TLS to secure communication.
Firewall to control open ports.
User Roles to manage access and permissions.
1. Enable SSL/TLS on Coolify
Why SSL/TLS is important:
Encrypts data between users and servers.
Protects passwords and API keys.
Boosts SEO ranking by securing your website.
How to enable SSL/TLS on Coolify:
Use Traefik or Caddy as a reverse proxy to get free Let’s Encrypt certificates.
Upload custom certificates to:
/data/coolify/proxy/certs
Enable HTTPS directly from the Coolify Dashboard.
???? Pro Tip: Always use HTTPS over HTTP to ensure user data protection.
---
2. Configure Firewall on Coolify
Default ports required by Coolify:
8000 → Dashboard
6001–6002 → Real-time & Terminal
22 → SSH
80 → SSL certificate generation
443 → HTTPS
Best practices for Firewall setup:
If using Domain + Proxy, close ports 8000, 6001, 6002 after setup.
Use Cloud provider firewalls (DigitalOcean, Hetzner, Oracle).
For Linux, use ufw-docker to block Docker-exposed ports.
Extra security tools:
CrowdSec → Protects against brute force & scanning.
Cloudflare Tunnels → Reduce exposed ports.
Tailscale → Restrict access to trusted devices only.
---
3. Manage User Roles on Coolify
Why User Roles matter:
Minimize risks from unauthorized access.
Assign permissions based on responsibilities.
Main user roles:
Admin → Full access (projects + server settings).
Developer → Manage apps only.
Viewer → Read-only access.
???? Best Practices:
Limit Admin privileges to only a few trusted members.
Enable 2FA (two-factor authentication).
Regularly review User Logs.
---
4. Additional Security Tips for Coolify
Keep servers & OS updated (apt update/upgrade).
Use SSH Keys instead of passwords.
Enable Monitoring & Logging for suspicious activity.
Perform regular backups to prevent data loss.
---
Conclusion
Securing servers on Coolify is not optional—it’s a must for long-term success.
SSL/TLS = Secure data & build trust.
Firewall = Block threats before they reach your apps.
User Roles = Minimize unauthorized access risks.
زرونا علي موقعنا
او تواصل مع الرقم 01001197157