https에서 http로 두 번 리디렉션, 하나는 SSL을 가지고 있으며, 나는 SSL 인증을 사용하여 서버에의 nginx 내가 2 개 서버가
이처럼 config (설정)
다른 서버에서location ~^/abc/.* {
proxy_pass http://www.example.com:8214/
}
(이는 HTTP : // www.anotherExample.com) :
server {
listen 8214;
server_name www.anotherExample.com;
rewrite ^/(.*)$ http://www.anotherExample.com:8080/$1 permanent;
}
이후 액세스 https : //로 www.example.com/abc/api/getGroup
을http : // www.anotherExample.com:8080/api/getGroup으로 리디렉션 할 수 없습니다.
뭐가 잘못 되었나요?