added: config parameters:
bool log_check_proxy_ip_header; // check whether there is a 'log_proxy_ip_header' header // and if so then log the IP address from it // default: false std::wstring log_proxy_ip_header; // proxy header representing the real IP address of a client // default: X-Real-IP git-svn-id: svn://ttmath.org/publicrep/winix/trunk@1104 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -122,6 +122,16 @@ public:
|
||||
// default: false
|
||||
bool log_plugin_call;
|
||||
|
||||
// check whether there is a 'log_proxy_ip_header' header
|
||||
// and if so then log the IP address from it
|
||||
// default: false
|
||||
bool log_check_proxy_ip_header;
|
||||
|
||||
// proxy header representing the real IP address of a client
|
||||
// default: X-Real-IP
|
||||
std::wstring log_proxy_ip_header;
|
||||
|
||||
|
||||
// how many characters in values should be logged from POST parameters
|
||||
// default: 80
|
||||
// set to 0 to turn it off
|
||||
|
Reference in New Issue
Block a user