Translations:Proxy check URL/8/ru: Difference between revisions

From Wiki Kaminari Click
(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 edit summary
 
Line 7: Line 7:
     proxy_set_header Connection "";
     proxy_set_header Connection "";
     proxy_set_header X-Forwarded-For $http_x_forwarded_for;
     proxy_set_header X-Forwarded-For $http_x_forwarded_for;
     proxy_set_header X-Real-IP $remote_addr;
     proxy_set_header X-Original-IP $http_x_real_ip;
    proxy_set_header X-KUser-IP $http_x_real_ip;
     proxy_pass http://kaminari.systems;
     proxy_pass http://kaminari.systems;
}
}
</pre>
</pre>
[[Category:Features]]
[[Category:Features]]

Latest revision as of 10:38, 18 June 2025

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Proxy check URL)
To the configuration, you need to add (the example demonstrates proxying to the <code>/antifraud</code> endpoint):
<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-Original-IP $http_x_real_ip;
   proxy_pass http://kaminari.systems;
}
</pre>
[[Category:Features]]

В конфиг надо добавить (в примере показан вариант с проксированием на эндпойнт /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-Original-IP $http_x_real_ip;
    proxy_pass http://kaminari.systems;
}