I'm a novice in deployment. My web application is deployed on aws ec2 instance (ubuntu 20.04). Both front end app and back end app are setted up with apache2.
Before I install ssl certificate, everything goes fine, and I can access it through http://myweb.com
. After I installed SSL, in https://myweb.com
, the front end app can not get data from backend, but the interface shows properly.
I tested my api in server side and I can still access data from http://myweb.com/api
, but got nothing when accessing https://myweb.com/api
.
Can anyone tell me how to solve it?
question from:
https://stackoverflow.com/questions/65948632/front-end-app-cannot-get-data-from-backend-app-after-installing-ssl-certificate 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…