Set real IP from local proxy
This commit is contained in:
parent
c1e74a4494
commit
e8427dc81d
7 changed files with 23 additions and 0 deletions
|
@ -18,5 +18,9 @@
|
|||
locations."/" = {
|
||||
proxyPass = "http://cloudtube.vs.grzb.de:10412";
|
||||
};
|
||||
extraConfig = ''
|
||||
set_real_ip_from 127.0.0.1;
|
||||
real_ip_header proxy_protocol;
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue