Bug 39789: Display the trusted proxy IP addresses and reverse proxy IP header on about page
Signed-off-by: Lin Wei Li <lin-wei.li@inLibro.com> Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
13a4b44bc9
commit
1c6f0b2eae
2
about.pl
2
about.pl
|
|
@ -184,6 +184,8 @@ if ( $tab eq 'about' ) {
|
|||
mysqlVersion => $versions{'mysqlVersion'},
|
||||
apacheVersion => $versions{'apacheVersion'},
|
||||
memcached_running => Koha::Caches->get_instance->memcached_cache,
|
||||
reverse_proxy_ip_header => C4::Context->config('reverse_proxy_ip_header'),
|
||||
koha_trusted_proxies => C4::Context->config('koha_trusted_proxies'),
|
||||
);
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -308,6 +308,14 @@
|
|||
[% END %]
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Trusted proxy IP addresses</th>
|
||||
<td>[% koha_trusted_proxies | html %]</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Reverse proxy IP header</th>
|
||||
<td>[% reverse_proxy_ip_header | html %]</td>
|
||||
</tr>
|
||||
</table>
|
||||
[% END # tab=about %]
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue