Hey mates, I have been struggling with getting this n8n port secure with an SSL (https://). My n8n sits on the main root at mydomain.com:5678. I have forced https sitewide but has not worked. I have read many different docs but none seemed to help me with my particular VPS setup. I am semi-new to the VPS space, so keeping it simple to implement would be great.
I do use let’s encrypt for the SSL for my domain and docker to do the installation of n8n. My application does run with no issues on HTTP, but not HTTPS.
My VPS Build:
- CyberPanel Version: 2.3
- CentOS 7 64bit with CyberPanel
- Docker version 23.0.1, build a5ee5b1
- Zend Engine v3.4.0
- PHP 7.4.33
- Apache/2.4.6 (CentOS)