mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-67861 core: Added $CFG->reverseproxyignore IP subnet list
If your server is behind multiple reverse proxies that append to the X-Forwarded-For header then you will need to specify a comma separated list of ip addresses or subnets of the reverse proxies to be ignored in order to find the users correct IP address.
- Loading branch information
1 parent
516c8aa
commit c2366b8
Showing
3 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -329,6 +329,7 @@ | |
$string['configrequestedstudentsname'] = 'Word for students used in requested courses'; | ||
$string['configrequestedteachername'] = 'Word for teacher used in requested courses'; | ||
$string['configrequestedteachersname'] = 'Word for teachers used in requested courses'; | ||
$string['configreverseproxyignore'] = 'If your server is behind multiple reverse proxies that append to the X-Forwarded-For header then you will need to specify a comma separated list of ip addresses or subnets of the reverse proxies to be ignored in order to find the users correct IP address.'; | ||
$string['configsectioninterface'] = 'Interface'; | ||
$string['configsectionmail'] = 'Mail'; | ||
$string['configsectionmaintenance'] = 'Maintenance'; | ||
|
@@ -1064,6 +1065,7 @@ | |
$string['restorernewroleid_help'] = 'If the user does not already have the permission to manage the newly restored course, the user is automatically assigned this role and enrolled if necessary. Select "None" if you do not want restorers to be able to manage every restored course.'; | ||
$string['resultfilter'] = 'Filter by result'; | ||
$string['reverseproxy'] = 'Reverse proxy'; | ||
$string['reverseproxyignore'] = 'Ignore reverse proxies'; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
brendanheywood
Author
Contributor
|
||
$string['riskconfig'] = 'Users could change site configuration and behaviour'; | ||
$string['riskconfigshort'] = 'Configuration risk'; | ||
$string['riskdataloss'] = 'Users could destroy large amounts of content or information'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@brendanheywood This seems like a
true
/false
. To make it clear that this is a list of items, perhaps:or: