Translations:Proxy check URL/8/ru: Difference between revisions
(Created page with "В конфиг надо добавить (в примере показан вариант с проксированием на эндпойнт <code>/antifraud</code>): <pre> location /antifraud { rewrite /antifraud /v2/check break; proxy_set_header Host kaminari.systems; proxy_http_version 1.1; proxy_set_header Connection ""; proxy_set_header X-Forwarded-For $http_x_forwarded_for; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-...") |
(No difference)
|
Revision as of 15:41, 30 November 2023
В конфиг надо добавить (в примере показан вариант с проксированием на эндпойнт /antifraud
):
location /antifraud { rewrite /antifraud /v2/check break; proxy_set_header Host kaminari.systems; proxy_http_version 1.1; proxy_set_header Connection ""; proxy_set_header X-Forwarded-For $http_x_forwarded_for; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-KUser-IP $http_x_real_ip; proxy_pass http://kaminari.systems; }