Set real IP from local proxy
This commit is contained in:
parent
c1e74a4494
commit
e8427dc81d
7 changed files with 23 additions and 0 deletions
|
@ -26,6 +26,9 @@
|
|||
extraConfig = ''
|
||||
client_max_body_size 1024m;
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
|
||||
set_real_ip_from 127.0.0.1;
|
||||
real_ip_header proxy_protocol;
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue