IronDonDon
New Pleskian
Hello,
my server is behind a WAF and nginx logs get only $remote_addr entries. I would like to modify nginx conf for websites to include X-Forwarded-For entries, to handle client IPs. There are no x-forwarded-for fields per default.
Where should I take modifications in order to achieve this? Template file for a Vhost looks processing, but I have no idea how to modify it. What kind of format or parameter should I use?
Thank you.
my server is behind a WAF and nginx logs get only $remote_addr entries. I would like to modify nginx conf for websites to include X-Forwarded-For entries, to handle client IPs. There are no x-forwarded-for fields per default.
Where should I take modifications in order to achieve this? Template file for a Vhost looks processing, but I have no idea how to modify it. What kind of format or parameter should I use?
Thank you.
Last edited: