Angular and Go Server on Same Port -


i'm creating web project intergrating both angular, frontend, , go backend. backend need use http web server in order display data using restapi, however, issue cannot run both servers on port 80 (which basic knowledge). wondering if there work around this. prefix backend pages prefix /backend/ (so example https://example.com/backend/auth), therefore there shouldn't file/page collisions taking place.

one of main reasons trying accomplish because want set cookies site in backend it'd far easier , less complex situation, i'm not sure how because unless on same port not share same cookies.

any appreciated, thank you.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -