[WIP][CI SKIP] nginx real_ip
This commit is contained in:
@@ -15,7 +15,9 @@ http {
|
||||
error_log /dev/stderr;
|
||||
|
||||
include seafile/*.conf;
|
||||
|
||||
|
||||
include realip.conf;
|
||||
|
||||
include extra.conf;
|
||||
}
|
||||
|
||||
|
2
nginx/realip.conf
Normal file
2
nginx/realip.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
real_ip_header X-Forwarded-For;
|
||||
set_real_ip_from 127.0.0.1;
|
Reference in New Issue
Block a user