The docker compose example in guide uses traefik. Can we use HTTPS to reach n8n instance without any such additional services?
Yes, n8n can handle encrypted connections on its own as well, so a reverse proxy (while very common) is not technically needed.
You’d need to set the respective environment variables (N8N_SSL_CERT
, N8N_SSL_CERT
, N8N_PROTOCOL
) for this to work.
Ooops, clearly I need to learn how copy & paste works
You’re right of course. N8N_SSL_CERT
would point to your certificate and N8N_SSL_KEY
to the respective key.
1 Like
Yes, N8N_SSL_KEY
would be the path to your private key .PEM file.
1 Like