[WIP][CI SKIP] nginx real_ip

This commit is contained in:
Drone CI
2019-01-29 20:29:12 +01:00
parent fb956cb777
commit dbacf11bd3
5 changed files with 15 additions and 3 deletions
+3 -1
View File
@@ -15,7 +15,9 @@ http {
error_log /dev/stderr;
include seafile/*.conf;
include realip.conf;
include extra.conf;
}
+2
View File
@@ -0,0 +1,2 @@
real_ip_header X-Forwarded-For;
set_real_ip_from 127.0.0.1;