httpsからhttpに二回リダイレクトし、1は、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にリダイレクトできません
何か間違っていますか?