mirror of
https://github.com/correl/melpa.git
synced 2024-12-22 11:08:54 +00:00
fix nginx config to properly report the remote IP
This commit is contained in:
parent
e87cea7411
commit
5e0a6d205e
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,8 @@ http {
|
||||||
##
|
##
|
||||||
access_log /home/melpa/log/melpa.access.log combined;
|
access_log /home/melpa/log/melpa.access.log combined;
|
||||||
error_log /home/melpa/log/melpa.error.log info;
|
error_log /home/melpa/log/melpa.error.log info;
|
||||||
|
set_real_ip_from 127.0.0.1;
|
||||||
|
real_ip_header X-Forwarded-For;
|
||||||
|
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
Loading…
Reference in a new issue