Translations:Proxy check URL/8/en

From Wiki Kaminari Click
Revision as of 15:46, 30 November 2023 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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;
}