diff --git a/util/Setup/Templates/NginxConfig.hbs b/util/Setup/Templates/NginxConfig.hbs index 8a89938933..5b72e89232 100644 --- a/util/Setup/Templates/NginxConfig.hbs +++ b/util/Setup/Templates/NginxConfig.hbs @@ -54,6 +54,8 @@ server { {{#each RealIps}} set_real_ip_from {{{Value}}}; {{/each}} +real_ip_header X-Forwarded-For; +real_ip_recursive on; {{/if}} location / {