Knowledgebase

How to Secure Self-Hosted n8n with HTTPS SSL (Nginx + Certbot) Print

  • 0

Protect your n8n dashboard and enable encrypted webhook endpoints.

Step-by-Step Instructions

  1. Point n8n.yourdomain.pk A record to your VPS IP.
  2. Configure Nginx reverse proxy to 127.0.0.1:5678 with WebSocket headers.
  3. Run certbot --nginx -d n8n.yourdomain.pk.
sudo certbot --nginx -d n8n.yourdomain.pk

Pro Tip: Keep n8n bound to 127.0.0.1:5678 so it cannot be accessed unencrypted.

Need assistance? Open a ticket in the A1 Client Area or contact our 24/7 NOC Engineering Team on WhatsApp at +1 (406) 229-9597.


Was this answer helpful?

« Back