Set real ip not working

snir nginx-forum at forum.nginx.org
Thu May 10 12:04:59 UTC 2018


Thanks 
That what I needed 
        location / {
		proxy_set_header Host $host;
            proxy_set_header X-Real-IP  $remote_addr;
            proxy_set_header X-Forwarded-For $remote_addr;
            proxy_pass http://myapp1;
			
        }

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,279736,279745#msg-279745



More information about the nginx mailing list