a year 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
0 Replies
a year 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
a year 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.com](example.com)
could be pointed to12.34.56.78:5000
, thenhttps://[example.com](example.com)
would show the content of[http://12.34.56.78:5000](http://12.34.56.78:5000)
[abc.def.com](abc.def.com)
could be pointed too[my.hostname.com:30158](my.hostname.com:30158)
, thenhttps://[abc.def.com](abc.def.com)
would show the content ofhttp://[my.hostname.com:30158](my.hostname.com:30158)
(including they paths)
and both domains pointed to the same ip address
a year 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](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
a year 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?
a year 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
a year ago
okay, well in that case, railway does not have a static IP, you can't use IP addresses, you need to use cnames