changed: config parameters: log_check_proxy_ip_header -> check_proxy_ip_header and log_proxy_ip_header -> proxy_ip_header

added: Request::ip_str (std::wstring) (string of the client's IP address)



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@1105 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2018-05-01 11:22:55 +00:00
parent ba7d55b7c1
commit 3f29cdc01e
8 changed files with 61 additions and 26 deletions

View File

@@ -149,8 +149,6 @@ void Config::AssignValues(bool stdout_is_closed)
log_env_variables = Bool(L"log_env_variables", false);
log_env_http_variables = Bool(L"log_env_http_variables", false);
log_http_answer_headers = Bool(L"log_http_answer_headers", false);
log_check_proxy_ip_header = Bool(L"log_check_proxy_ip_header", false);
log_proxy_ip_header = Text(L"log_proxy_ip_header", L"X-Real-IP");
post_file_max = Size(L"post_file_max", 8388608); // 8 MB
@@ -311,6 +309,10 @@ void Config::AssignValues(bool stdout_is_closed)
pid_file = Text(L"pid_file", L"");
allow_ezc_out_in_executable_items = Bool(L"allow_ezc_out_in_executable_items", false);
check_proxy_ip_header = Bool(L"check_proxy_ip_header", false);
proxy_ip_header = Text(L"proxy_ip_header", L"X_Real_IP");
}