help with nginx proxy manager
coding-dynasty
HOBBYOP

10 months ago

please, can anyone give me a hand with this, i trying to proxy n8n through nginx proxy manager in railway, what am i doing wrong, i can proxy n8n through nginx perfectly, but am i missing something with nginx proxy manager!!!!

35 Replies

coding-dynasty
HOBBYOP

10 months ago

N/A


coding-dynasty
HOBBYOP

10 months ago

n8n is using port 5678

1372641592724295700


10 months ago

Hey, you're understanding a few things wrong about Nginx. Nginx Proxy Manager will route your traffic based on the domain you selected, so if you chose that Railway domain, you'll need to acess it without the port.


10 months ago

In your setup, Nginx will route all traffic coming to your 80/443 port (http or https) and then decides on how to route it to your n8n instance


10 months ago

also quick question, why are you using Nginx Proxy Manager?


coding-dynasty
HOBBYOP

10 months ago

if i didnt specify a port it redirects me to nginx proxy manager ui


coding-dynasty
HOBBYOP

10 months ago

i used nginx, it works fine, but i dont want to miss with conf files, so i decided to give nginx proxy manager a shot


10 months ago

but still, why are you using Nginx? If you want a n8n instance, Nginx is not necessary


coding-dynasty
HOBBYOP

10 months ago

i need to restrict my ip address


10 months ago

you want to restrict access to your n8n instance only to yourself?


coding-dynasty
HOBBYOP

10 months ago

yes


10 months ago

if yes, then I would recommend setting up Tailscale instead
https://docs.railway.com/tutorials/set-up-a-tailscale-subnet-router
it's basically a VPN to your project


10 months ago

but anyway, if you still want to continue with Nginx Proxy Manager let me know


coding-dynasty
HOBBYOP

10 months ago

is it free?


10 months ago

yep


coding-dynasty
HOBBYOP

10 months ago

i am trying it, i will contact u if anything went wrong


coding-dynasty
HOBBYOP

10 months ago

thanks


10 months ago

no problem, also do a quick read on private networking
https://docs.railway.com/guides/private-networking


10 months ago

Tailscale will basically create a bridge to your project's private networking letting you access it


coding-dynasty
HOBBYOP

10 months ago

tailscale installation curl -fsSL https://tailscale.com/install.sh | sh should be on my local machine or railway service?


10 months ago

You'll need to install on both Railway and your local machine.


10 months ago

on the docs I mentioned there's the steps for Railway


coding-dynasty
HOBBYOP

10 months ago

i installed it on my machine, but i get this on railway n8n instance

1372647385267835000


10 months ago

that's the wrong steps of doing it, on your Railway project (a project is the group of services) you'll need to follow these steps
https://docs.railway.com/tutorials/set-up-a-tailscale-subnet-router#1-getting-an-auth-key


10 months ago

basically after installing on your local machine, setting up an account and etc, follow the Railway docs mentioned above


coding-dynasty
HOBBYOP

10 months ago

yeah yeah read the docs first, my bad


coding-dynasty
HOBBYOP

10 months ago

i did the steps in the guide, now how to access the n8n dashboard? ping doesnt connect to the service!!

1372652914748817400


10 months ago

try sudo tailscale up


coding-dynasty
HOBBYOP

10 months ago

ping is running, but cant access n8n in browser


10 months ago

try http://n8n.railway.interval:5678


coding-dynasty
HOBBYOP

10 months ago

1372655154716737500


coding-dynasty
HOBBYOP

10 months ago

1372655298241757200


coding-dynasty
HOBBYOP

10 months ago

if u need my project id, i will suplly it here


10 months ago

It seems like your PC/browser (likely a Linux issue) is unable to detect the Tailscale DNS. I'm not very experienced with this error, and the most I can do is share this tutorial: https://medium.com/@gladevise/dns-resolution-issue-on-ubuntu-20-04-with-tailscale-53c4e6ddeccb If you want to go back to using Nginx Proxy Manager instead, I would be able to help with that. Sorry about this issue - I've never encountered problems with Tailscale before.


coding-dynasty
HOBBYOP

10 months ago

well, i dont want to miss with my network settings. i will try to figure out how to configure nginx proxy manager. i will reach to u if i am stuck at some point


Loading...