fix nginx config to properly report the remote IP

This commit is contained in:
Melpa 2013-12-03 22:05:52 -08:00
parent e87cea7411
commit 5e0a6d205e

View file

@ -33,6 +33,8 @@ http {
##
access_log /home/melpa/log/melpa.access.log combined;
error_log /home/melpa/log/melpa.error.log info;
set_real_ip_from 127.0.0.1;
real_ip_header X-Forwarded-For;
##