首页 > 解决方案 > I sent it to https when I requested axios, but it will be transferred to http

问题描述

It's my first time trying to distribute the homepage using aws, and there's a problem! First, I checked that S3 is connected using cloudfront using route53, ec2 also made a node balancer and asked route53 to confirm that the server is connected well. But the problem seems to be that both of them are working well in https. But if I send a request, an error occurs like this. But the thing is, when I asked the client to fix the problem, I changed it from http://localhost:4000 to https://domain_name, and I keep getting this error, where is that http://localhost:4000 coming from?

https://i.stack.imgur.com/L7hkA.png

标签: amazon-web-serviceshttps

解决方案


推荐阅读