Hi,

With spring-boot with embedded tomcat, I suggest the following in 
cas.properties:

  server.tomcat.remoteip.internal-proxies=... (a regexp)

With external tomcat, I suggest configuring RemoteIpValve in conf/server.xml, 
eg:

    <Valve className="org.apache.catalina.valves.RemoteIpValve" 
protocolHeader="x-forwarded-proto" internalProxies="..." />

cu


On 08/03/2023 19:59, 'Richard Frovarp' via CAS Community wrote:
On CAS 6.6.6 and using the Duo Universal Prompt, it is exposing my internal 
hostname, rather than the load balancer. It's not clear to me why this is 
happening. It is also not clear to me what the correct configuration options 
are for a load balanced CAS with respect to hostname / proxy configuration. Any 
suggestions?

Thanks,

Richard


--
Pascal Rigaux

Expert en développement et déploiement d'applications
DSIUN-PAS (Pôle Applications et Services numériques)
Université Paris 1 Panthéon-Sorbonne  -  Centre Pierre Mendès France (PMF)
B 04 08 - 90, rue de Tolbiac -  75634 PARIS CEDEX 13 - FRANCE
Tél : 01 44 07 86 59 - 06 74 55 57 67

--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/e71310d7-297e-adc4-cce0-1e98d6289187%40univ-paris1.fr.

Reply via email to