Allowed remote addr obfuscation to be configured on docker image by using the OBFUSCATE_REMOTE_ADDR env var

This commit is contained in:
Alejandro Celaya
2020-05-08 13:19:40 +02:00
parent eac468514b
commit ba13d99a71
2 changed files with 6 additions and 3 deletions

View File

@@ -117,6 +117,7 @@ return [
'hostname' => env('SHORT_DOMAIN_HOST', ''),
],
'validate_url' => (bool) env('VALIDATE_URLS', false),
'obfuscate_remote_addr' => (bool) env('OBFUSCATE_REMOTE_ADDR', true),
'visits_webhooks' => $helper->getVisitsWebhooks(),
'default_short_codes_length' => $helper->getDefaultShortCodesLength(),
],