setup n8n on a linux sever with https. the docker-compose.yml is as follows:
version: ‘3.8’
services:
n8n:
image: docker.io/n8nio/n8n:latest
restart: always
ports:
- "0.0.0.0:5678:5678"
environment:
- DB_TYPE=sqlite
- DB_SQLITE_POOL_SIZE=2
- DB_SQLITE_VACUUM_ON_STARTUP=false
- N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
- N8N_PORT=5678
- N8N_PROTOCOL=https
- N8N_SSL_CERT=/home/node/letsencrypt/cert1.pem
- N8N_SSL_KEY=/home/node/letsencrypt/privkey1.pem
- WEBHOOK_URL=https://subdomain.example.com:5678
- N8N_EDITOR_BASE_URL=https://subdomain.example.com:5678
volumes:
- /root/n8n/n8n_data:/home/node/.n8n
- /root/n8n/n8n_database:/root/.n8n
- /root/n8n/output:/home/node/output
- /root/n8n/input:/home/node/input
- /root/n8n/shared_data:/home/node/shared_data
- /root/n8n/project:/home/node/project
- /root/n8n/template:/home/node/template
- /root/n8n/extra:/home/node/extra
- /etc/letsencrypt/archive/subdomain.example.com:/home/node/letsencrypt
user: "root:root"
Problem:
Node can not pop up the form
while input the test url to a browser, I got
F12 debug shows:
the network info is :



