forked from Cavemanon/cavepaintings
X-Real-IP support and Varnish PURGE config options
X-Real-IP for core functionality Global config define REVERSE_PROXY_X_HEADERS Config host and port for varnish PURGE config option to specify PURGE protocol exception in curl purge now shows error code ipv6 x-real-ip addresses are now validated properly X-Forwarded-Proto enabled by define
This commit is contained in:
@@ -21,7 +21,7 @@ class LogLogstash extends Extension
|
||||
#"@request" => $_SERVER,
|
||||
"@request" => [
|
||||
"UID" => get_request_id(),
|
||||
"REMOTE_ADDR" => $_SERVER['REMOTE_ADDR'],
|
||||
"REMOTE_ADDR" => get_real_ip(),
|
||||
],
|
||||
];
|
||||
|
||||
|
Reference in New Issue
Block a user