We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
As far as I can see, the real_ip module is not supported yet.
In the meantime, I use:
nginx::config::http_cfg_append: set_real_ip_from: X.X.X.X real_ip_header: X-Forwarded-For
in my Hiera file.
Rudy
The text was updated successfully, but these errors were encountered:
Hi, as an workaround, you can make that for each vhost:
nginx::nginx_vhosts: 'example.com': proxy: 'http://int.example.com' proxy_set_header: [ 'Host example.com', 'X-Real-IP $remote_addr', 'X-Forwarded-For $proxy_add_x_forwarded_for' ] raw_append: [ 'real_ip_header X-Forwarded-For;', 'set_real_ip_from 0.0.0.0/0;' ]
Sorry, something went wrong.
Is this feature still unimplemented? we need it
@luisbrandao is there a reason that just using http_cfg_append doesn't work for you?
http_cfg_append
If you're willing to write the changes (with tests), PRs are happily accepted.
No branches or pull requests
Hi,
As far as I can see, the real_ip module is not supported yet.
In the meantime, I use:
in my Hiera file.
Rudy
The text was updated successfully, but these errors were encountered: