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

8 months 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

uxuz
MODERATOR

8 months 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

8 months 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

8 months ago

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


Loading...