2 years ago
so i setup a eployment using the Nginx Proxy Manager template, but what ip do i put in the A record in order for the proxy to actually work?
project id: 29fe5625-5c86-45a0-a9d5-cd9822c58c80
12 Replies
2 years ago
may i ask why the proxy manager was used?
wdym? i was searching a free way to host Nginx Proxy Manager and some people suggested me to use railway so i did and made it with the template
2 years ago
right but I never understood the purpose of that template, what does it help you achieve
nginx proxy manager is just a nginx reverse proxy, but with an user interface
can be used to point the domain to another ip/hostname
for example on the proxy
example.comcould be pointed to12.34.56.78:5000, thenhttps://example.comwould show the content ofhttp://12.34.56.78:5000abc.def.comcould be pointed toomy.hostname.com:30158, thenhttps://abc.def.comwould show the content ofhttp://my.hostname.com:30158(including they paths) and both domains pointed to the same ip address
2 years ago
but what are you using it for? for some reason I have a sneaking suspicion that there's a better way to do whatever you're doing
cause the host i use for some of my sites use urls such as catfein.alfari.id:PORT
and i want to link a domain to them
an example http://catfein.alfari.id:30009
which is an instance of NTFY
2 years ago
then im not sure where nginx proxy manager comes in to play here, can't this be done with cnames in your dns provider?
2 years ago
true, but with the information I'm given I don't currently see a need to use a reverse proxy
i can use CNAME in some of my domains, but not all since some of them have other records
i can use CNAME, A, AAAA, MX, TXT, URL (redirect)
so on some only IPv4, IPv6 and some other can sue the cname
2 years ago
okay, well in that case, railway does not have a static IP, you can't use IP addresses, you need to use cnames