conect Frontend with Backend (docker image) that connect to postgress
nooraldenakel
HOBBYOP

a year ago

hello,

i have issue with connect frontend with backend ,

i have my on domain on the front but i can set the same on back and i cant use it as back 'with add path to it'

front = my-domain.com

back = my-domain/api.com

so how i can fix this by make connect between the tow with the same Domain

Attachments

$10 Bounty

3 Replies

a year ago

Hey, what you want is to use a reverse proxy, such as this template. For the sake of simplicity, there is also no problem to use a subdomain for your backend, such as api.domain.com, so please consider this approach first.


gogidze8
FREE

a year ago

Go to your student-id-info-front service aadd your custom domain (my-domain.com) This will serve your frontend at the root path


sim
FREE

a year ago

You can set a reserve proxy like NGINX as @uxuz suggested


Welcome!

Sign in to your Railway account to join the conversation.

Loading...