• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Resolved nginx log format & x-forwarded-for

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.
 
Last edited:
Back
Top