Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make set_real_ip_* params configurable #9

Closed
pprishchepa opened this issue Oct 1, 2018 · 0 comments
Closed

Make set_real_ip_* params configurable #9

pprishchepa opened this issue Oct 1, 2018 · 0 comments
Assignees

Comments

@pprishchepa
Copy link
Contributor

pprishchepa commented Oct 1, 2018

Make set_real_ip_* params configurable in http scope.

  1. set_real_ip_from - env var value: JSON array of strings; in config: one or multiple strings, non-specified by default
  2. real_ip_header - string, default X-Real-IP
  3. real_ip_recursive - boolean, off by default

Ref http://nginx.org/en/docs/http/ngx_http_realip_module.html

@csandanov csandanov self-assigned this Oct 1, 2018
csandanov added a commit that referenced this issue Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants