I’d like to be able to construct the base URL and use the n8n API with my self-hosted instance of n8n and have tried port 5678, 80, and 443 because of this thread. But I’m still unable to reach even the Swagger docs using any variation of the URL construction using a domain+traeffic setup. Here are the URLs I’ve tried:
Yes I have ufw enabled with no additional firewall and allowed https access on port 443 using sudo ufw allow https
but still doesn’t seem to work. Also same thing on port 80 using sudo ufw allow http
Should I try using IP as the host instead of reverse proxy?
Ok seems like that link is to use Traefick - I dont know anything about that so unable to help.
I use this docker instead Digital Ocean - n8n Documentation
Caddy is so much more easier - one line and you are done - unless you are using trafeick for other things, i would switch to caddy
Actually I figured out that the API endpoint is actually much simpler than this and does not require a port number if using reverse proxy. So in my case the Swagger docs were located at https://n8n.mysite.com/api/v1/docs