Quantcast
Viewing all articles
Browse latest Browse all 3102

nging прокси (4 replies)

Добрый день!
Возникла аздача проксировать https на два сервера, но со следующими
условиями, если один севрвер ответит определенными запросом (не абонента
в биллинге), то проксировать на второй сервер, пример так вот:


https://1.1.1.1:1443/osmp-s.php?command=check&account=1104492&txn_id=201604290950&sum=20.00
https://176.98.128.1:1443/osmp-s.php?command=check&account=1104492&txn_id=201604290950&sum=20.00



This XML file does not appear to have any style information associated
with it. The document tree is shown below.
<response>
<osmp_txn_id>201604290950</osmp_txn_id>
<result>5</result>
<comment>User not found</comment>
</response>

То есть если User not found или result 5, отправлять на другой сервер.
Подскажите в каком направление двигаться, спасибо!


_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru

Viewing all articles
Browse latest Browse all 3102

Trending Articles