help with nginx proxy manager
coding-dynasty
HOBBYOP

a year 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

a year ago

N/A


coding-dynasty
HOBBYOP

a year ago

n8n is using port 5678

1372641592724295781


a year 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.


a year 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


a year ago

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


coding-dynasty
HOBBYOP

a year ago

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


coding-dynasty
HOBBYOP

a year 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


a year ago

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


coding-dynasty
HOBBYOP

a year ago

i need to restrict my ip address


a year ago

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


coding-dynasty
HOBBYOP

a year ago

yes


a year 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


a year ago

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


coding-dynasty
HOBBYOP

a year ago

is it free?


a year ago

yep


coding-dynasty
HOBBYOP

a year ago

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


coding-dynasty
HOBBYOP

a year ago

thanks


a year ago

no problem, also do a quick read on private networking

https://docs.railway.com/guides/private-networking


a year ago

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


coding-dynasty
HOBBYOP

a year ago

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


a year ago

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


a year ago

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


coding-dynasty
HOBBYOP

a year ago

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

1372647385267834900


a year 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


a year ago

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


coding-dynasty
HOBBYOP

a year ago

yeah yeah read the docs first, my bad


coding-dynasty
HOBBYOP

a year ago

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

1372652914748817460


a year ago

try sudo tailscale up


coding-dynasty
HOBBYOP

a year ago

ping is running, but cant access n8n in browser


a year ago

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


coding-dynasty
HOBBYOP

a year ago

1372655154716737547


coding-dynasty
HOBBYOP

a year ago

1372655298241757268


coding-dynasty
HOBBYOP

a year ago

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


a year 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

a year 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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...