Closed flypenguin closed 3 years ago
Describe the bug if you set N8N_HOST including a port it will take :5678 and then add the port number.
N8N_HOST
:5678
To Reproduce Steps to reproduce the behavior:
N8N_HOST=thing.thang.thong:8080 node_modules/n8n/bin/n8n
http://thing.thang.thong:8080:5678/
Expected behavior to see this: http://thing.thang.thong:18443/
http://thing.thang.thong:18443/
Environment (please complete the following information):
Additional context This is important when running n8n behind a load balancer, for example.
N8N_HOST is for the host and N8N_PORT for the port. So if you set them separately it will work fine.
N8N_PORT
You can find the documentation here: https://docs.n8n.io/reference/configuration.html#publish
Have fun!
Describe the bug if you set
N8N_HOST
including a port it will take:5678
and then add the port number.To Reproduce Steps to reproduce the behavior:
N8N_HOST=thing.thang.thong:8080 node_modules/n8n/bin/n8n
http://thing.thang.thong:8080:5678/
Expected behavior to see this:
http://thing.thang.thong:18443/
Environment (please complete the following information):
Additional context This is important when running n8n behind a load balancer, for example.