Translations:Proxy check URL/8/en: Difference between revisions
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 1: | Line 1: | ||
To the configuration, you need to add (the example demonstrates proxying to the <code>/antifraud</code> endpoint): | |||
<pre> | <pre> | ||
location /antifraud { | location /antifraud { |
Latest revision as of 15:46, 30 November 2023
To the configuration, you need to add (the example demonstrates proxying to the /antifraud
endpoint):
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; }