Koha-clms/debian/templates
Kyle M Hall 13a4b44bc9
Bug 39789: Add ability to specify an alternative header to X-Forwarded-For for finding the real ip address
Some services ( such as CloudFlare ) use alternative heads to X-Forwarded-For. Koha should be able to use a custom header instead of X-Forwarded-For if needed.

This patch updates the feature to allow both the custom header and X-Forwarded-For to work harmoniously

For example, CloudFlare has it's own custom header.
This patch allows a site to be configured for Cloudflare's proxy before the proxy is enabled.

Test Plan:
1) prove t/Koha/Middleware/RealIP.t

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>
2026-04-23 16:04:04 -06:00
..
SIPconfig.xml Bug 37893: Add warning notes to obsolete xml file sections 2025-11-18 11:21:06 -07:00
apache-shared-disable.conf
…
apache-shared-intranet-plack.conf Bug 37056: Mount a new intranet_svc api to avoid redirects 2024-07-02 17:20:37 +02:00
apache-shared-intranet.conf Bug 40993: (QA follow-up) use L flag to stop the rewrite after PT action 2026-01-12 10:53:37 -07:00
apache-shared-opac-antibot.conf Bug 39906: (QA follow-up) Feature needs to be enabled specifically 2025-08-29 10:43:43 -06:00
apache-shared-opac-plack.conf Bug 39906: Add a simple quick Apache-level bot challenge 2025-08-29 10:43:42 -06:00
apache-shared-opac.conf
…
apache-shared.conf Bug 36531: Serve text/javascript compressed, like application/javascript is 2024-04-08 15:41:12 +02:00
apache-site-https.conf.in Bug 34193: SSLProtocol enable in use versions and disable deprecated versions 2023-08-18 10:29:21 +03:00
apache-site.conf.in
…
koha-common.conf
…
koha-conf-site.xml.in Bug 39789: Add ability to specify an alternative header to X-Forwarded-For for finding the real ip address 2026-04-23 16:04:04 -06:00
koha-core.conf
…
koha-sites.conf
…
koha-worker@.service Bug 32992: Move background_jobs_worker to misc/workers 2023-02-24 17:52:19 -03:00
log4perl-site.conf.in Bug 38365: Add default log4perl configuration 2026-03-16 11:57:17 +01:00
marc21-retrieval-info-auth-dom.xml Bug 27198: Fix syntax in marc21-retrieval-info-auth-dom.xml 2024-04-05 11:51:14 +02:00
marc21-retrieval-info-bib-dom.xml
…
plack.psgi Bug 38365: Integrate CSP middleware into Plack apps 2026-03-16 11:57:12 +01:00
unimarc-retrieval-info-auth-dom.xml
…
unimarc-retrieval-info-bib-dom.xml
…
zebra-authorities-dom-site.cfg.in Bug 40304: Zebrasrv configs now work on ARM CPUs 2025-07-18 11:09:55 -06:00
zebra-biblios-dom-site.cfg.in Bug 40304: Zebrasrv configs now work on ARM CPUs 2025-07-18 11:09:55 -06:00
zebra.passwd.in
…