Commit e4f164c3 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-1373 Disable custom remote IP header by default.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 1ecfcba2
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
// is available, the provided value will be used, else REMOTE_ADDR is maintained. // is available, the provided value will be used, else REMOTE_ADDR is maintained.
// set to false to disable this behaviour. // set to false to disable this behaviour.
// common values: 'HTTP_X_FORWARDED_FOR', 'HTTP_X_REAL_IP' (casing is ignored) // common values: 'HTTP_X_FORWARDED_FOR', 'HTTP_X_REAL_IP' (casing is ignored)
define('USE_CUSTOM_REMOTE_IP_HEADER', 'HTTP_X_REAL_IP'); define('USE_CUSTOM_REMOTE_IP_HEADER', false);
// When using client certificates, we can check if the login sent matches the owner of the certificate. // When using client certificates, we can check if the login sent matches the owner of the certificate.
// This setting specifies the owner parameter in the certificate to look at. // This setting specifies the owner parameter in the certificate to look at.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment