why is angular universal server returning plain php code back from api

  angular, angular-universal, mysql, node.js, php

good day everyone , ive been working on an angular project for a couple of months, which i implemented universal(ssr) into it , this works perfectly fine on my pc (although i didnt direct to port 4000 internally since theres no special domain than the localhost:4000) . i deployed this project to a vps server (centos os with cyberpanel), which after installing node on the server i had to direct incoming requests on port 80 and 443 to the universal server internally using nginx and this works perfectly well , i have tried all i can to make this node server run on https with ssl , all to no avail, and all api calls return plain texts ( i use php for backend with mysql) this project is already live and in use , i need urgent soluthons please . thanks

Source: Angular Questions

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.