diff --git a/etc/nginx b/etc/nginx index 3673c39c..ea1a1212 100644 --- a/etc/nginx +++ b/etc/nginx @@ -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; ##