sp-containers/files/common/nginx/conf.d/x-forward.conf.gotmpl

4 lines
139 B
Go Template

# Replace loadbalancer IP(real-ip) with actual client IP.
set_real_ip_from 0.0.0.0/0;
real_ip_header X-Forwarded-For;
real_ip_recursive on;